CustomXmlPart

CustomXmlPart class

Represents custom xml part.

public class CustomXmlPart : ICustomXmlPart

Properties

NameDescription
ItemId { get; set; }Specifies a globally unique identifier (GUID) that uniquely identifies a single custom XML part within an Office Open XML document. Read-only Guid.
NamespaceSchemas { get; }Returns the collection XML schemas that are associated with the custom XML part. Read-only String[].
XmlAsString { get; set; }Returns or sets xml data as UTF-8 string. Read/write String. value is null.value is empty or xml-data is invalid.
XmlData { get; set; }Returns or sets xml data. Read/write Byte[]. value is null.value is empty or xml-data is invalid.

Methods

NameDescription
Remove()Removes the custom xml part from the presentation.

See Also