Range.ID Property

Definition

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

public:
 property System::String ^ ID { System::String ^ get(); void set(System::String ^ value); };
public string ID { get; set; }
member this.ID : string with get, set
Public Property ID As String

Property Value

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.

Applies to