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)

Usage

Dim EditorID As Object
Dim returnValue As Editor
Dim editors1 As Editors
returnValue = editors1.Add(EditorID)

Syntax

Function Add( _
    <InAttribute()> ByRef EditorID As Object _
) As Editor
Editor Add(
    [In] ref object EditorID
);
public: Editor^ Add(
    &Object^ EditorID
);
public Editor Add(
    /*in*/System.Object EditorID
);
function Add(
     EditorID : Object
) : Editor;

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 that represents a group of users.

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

Editors Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Editors Members