_Document.DeleteAllEditableRanges MethodÂ
Deletes permissions in all ranges for which the specified user or group of users has permission to modify.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim EditorID As Object
Dim _Document1 As _Document
_Document1.DeleteAllEditableRanges(EditorID)
Syntax
Sub DeleteAllEditableRanges( _
<InAttribute()> Optional ByRef EditorID As Object _
)
void DeleteAllEditableRanges(
[In, Optional] ref object EditorID
);
public: Void DeleteAllEditableRanges(
&Object^ EditorID
);
public void DeleteAllEditableRanges(
/*in*/System.Object EditorID
);
function DeleteAllEditableRanges(
EditorID : Object
);
Parameters
- EditorID
Optional Object. Can be either a String that represents the user's e-mail alias (if in the same domain), an e-mail address, or a WdEditorType constant that represents a group of users. If omitted, no permissions are deleted from a document.
Remarks
You can also use the DeleteAll method for the Editor object to delete permissions in all ranges for which a specified user or group of users has permission to modify.
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
_Document Interface
Microsoft.Office.Interop.Word Namespace