WdProtectionType Enumeration 

Specifies the type of protection applied to the current document.

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

Usage

Dim wdProtectionType1 As WdProtectionType = WdProtectionType.wdAllowOnlyComments

Syntax

Public Enum WdProtectionType
public enum WdProtectionType
public enum class WdProtectionType
public enum WdProtectionType
public enum WdProtectionType

Members

Member name Description
wdAllowOnlyComments Allow only comments to be added to the document.
wdAllowOnlyFormFields Allow content to be added to the document only through form fields.
wdAllowOnlyReading Allow read-only access to the document.
wdAllowOnlyRevisions Allow only revisions to be made to existing content.
wdNoProtection Do not apply protection to the document.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace