Freigeben über


XmlMappedRange.ID Property

Definition

Gets or sets the identifying label for the XmlMappedRange control when the page 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

The identifying label for the XmlMappedRange control when the page is saved as a Web page.

Examples

The following code example uses the ID property to set an ID that will be used if the workbook is saved as a Web page. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.

private void SetID()
{
    this.CustomerLastNameCell.ID = "Lastname";
}
Private Sub SetID()
    Me.CustomerLastNameCell.ID = "Lastname"
End Sub

Remarks

You can use an ID label as a hyperlink reference in other HTML documents or on the same Web page.

Applies to