[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICustomXmlPart.Id

Id Property

Id

Gets the unique ID of the Custom XML part.

The ID is generated when the part is added to the workbook and is stored in the Custom XML part properties. Use this value with this[string] to retrieve the same part after the workbook is saved and reopened.

Declaration
string Id { get; }
ReadOnly Property Id As String
Property Value
Type Description
string

The unique ID of the Custom XML part.

Examples
ICustomXmlPart customXmlPart = workbook.CustomXmlParts.Add();
string id = customXmlPart.Id;

ICustomXmlPart samePart = workbook.CustomXmlParts[id];