Document.Protect2002 Method
This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Sub Protect2002 ( _
Type As WdProtectionType, _
ByRef NoReset As Object, _
ByRef Password As Object _
)
void Protect2002(
WdProtectionType Type,
ref Object NoReset,
ref Object Password
)
Parameters
- NoReset
Type: System.Object%
- Password
Type: System.Object%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.