This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
命名空间:  Microsoft.Office.Tools.Word
程序集:  Microsoft.Office.Tools.Word(在 Microsoft.Office.Tools.Word.dll 中)
语法
声明
Sub Protect2002 ( _
    Type As WdProtectionType, _
    ByRef NoReset As Object, _
    ByRef Password As Object _
)
void Protect2002(
    WdProtectionType Type,
    ref Object NoReset,
    ref Object Password
)
参数
- NoReset
 类型:System.Object%
- Password
 类型:System.Object%
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。