ExcelScript.CustomXmlPart interface
Represents a custom XML part object in a workbook.
Methods
delete() | Deletes the custom XML part. |
get |
The custom XML part's ID. |
get |
The custom XML part's namespace URI. |
get |
Gets the custom XML part's full XML content. |
set |
Sets the custom XML part's full XML content. |
Method Details
delete()
Deletes the custom XML part.
delete(): void;
Returns
void
getId()
The custom XML part's ID.
getId(): string;
Returns
string
getNamespaceUri()
The custom XML part's namespace URI.
getNamespaceUri(): string;
Returns
string
getXml()
Gets the custom XML part's full XML content.
getXml(): string;
Returns
string
setXml(xml)
Sets the custom XML part's full XML content.
setXml(xml: string): void;
Parameters
- xml
-
string
XML content for the part.
Returns
void
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Scripts