ExcelScript.CustomXmlPart interface

Represents a custom XML part object in a workbook.

Methods

delete()

Deletes the custom XML part.

getId()

The custom XML part's ID.

getNamespaceUri()

The custom XML part's namespace URI.

getXml()

Gets the custom XML part's full XML content.

setXml(xml)

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