DocumentClass.Protect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public virtual void Protect (Microsoft.Office.Interop.Word.WdProtectionType Type, ref object NoReset, ref object Password, ref object UseIRM, ref object EnforceStyleLock);
abstract member Protect : Microsoft.Office.Interop.Word.WdProtectionType * obj * obj * obj * obj -> unit
override this.Protect : Microsoft.Office.Interop.Word.WdProtectionType * obj * obj * obj * obj -> unit
Public Overridable Sub Protect (Type As WdProtectionType, Optional ByRef NoReset As Object, Optional ByRef Password As Object, Optional ByRef UseIRM As Object, Optional ByRef EnforceStyleLock As Object)
Parameters
- Type
- WdProtectionType
- NoReset
- Object
- Password
- Object
- UseIRM
- Object
- EnforceStyleLock
- Object