Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the identifying label for the XmlMappedRange control when the page is saved as a Web page.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property ID As String
Get
Set
string ID { get; set; }
Property Value
Type: System.String
The identifying label for the XmlMappedRange control when the page is saved as a Web page.
Remarks
You can use an ID label as a hyperlink reference in other HTML documents or on the same 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 Sub SetID()
Me.CustomerLastNameCell.ID = "Lastname"
End Sub
private void SetID()
{
this.CustomerLastNameCell.ID = "Lastname";
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.