DocumentClass.Protect2002 Method 

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Type As WdProtectionType
Dim NoReset As Object
Dim Password As Object
Dim documentClass1 As DocumentClass
documentClass1.Protect2002(Type, NoReset, Password)

Syntax

Public Overridable Sub Protect2002( _
    <InAttribute()> ByVal Type As WdProtectionType, _
    <InAttribute()> Optional ByRef NoReset As Object, _
    <InAttribute()> Optional ByRef Password As Object _
)
public virtual void Protect2002(
    [In] WdProtectionType Type, 
    [In, Optional] ref object NoReset, 
    [In, Optional] ref object Password
);
public: Void Protect2002(
    WdProtectionType^ Type, 
    &Object^ NoReset, 
    &Object^ Password
);
public void Protect2002(
    /*in*/WdProtectionType Type, 
    /*in*/System.Object NoReset, 
    /*in*/System.Object Password
);
public function Protect2002(
     Type : WdProtectionType, 
     NoReset : Object, 
     Password : Object
);

Parameters

  • Type
    This parameter is intended for internal use only.
  • NoReset
    This parameter is intended for internal use only.
  • Password
    This parameter is intended for internal use only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

DocumentClass Class
Microsoft.Office.Interop.Word Namespace

Other Resources

DocumentClass Members