Range.ID Property

Returns or sets the identifying label for the specified object when the current document is saved as a Web page.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property ID As String
    Get
    Set
'Usage
Dim instance As Range
Dim value As String

value = instance.ID

instance.ID = value
string ID { get; set; }

Property Value

Type: System.String

Remarks

With the exception of the Editor object, you can use a label as a hyperlink reference from other Web pages or from within the current document.

Microsoft Word does not store the ID property setting for a Range object. If you set the ID property and then return its value, the returned value will be an empty String.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Word Namespace