Editors.Add Method
Returns an Editor object that represents a new permission for a specified user to modify a range or selection within a document.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Function Add ( _
ByRef EditorID As Object _
) As Editor
'Usage
Dim instance As Editors
Dim EditorID As Object
Dim returnValue As Editor
returnValue = instance.Add(EditorID)
Editor Add(
ref Object EditorID
)
Parameters
- EditorID
Type: System.Object%
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 that represents a group of users.
Return Value
Type: Microsoft.Office.Interop.Word.Editor