共用方式為


Document.SelectAllEditableRanges Method

Selects all ranges that the specified user or group of users has permission to modify.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Sub SelectAllEditableRanges ( _
    ByRef EditorID As Object _
)
void SelectAllEditableRanges(
    ref Object EditorID
)

Parameters

  • EditorID
    Type: System.Object%

    Can be 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. The default is that only ranges for which all users have permissions are selected.

Remarks

Optional Parameters

For information on optional parameters, see Optional Parameters in Office Solutions.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace