[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CustomXmlPart

Class CustomXmlPart

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents a custom XML data storage in the document.

public class CustomXmlPart : IEquatable<CustomXmlPart>
Inheritance
object
CustomXmlPart
Implements
System.IEquatable<T><CustomXmlPart>
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Properties

BuiltIn

Gets whether the part is built-in (doc properties or app properties part).

public bool BuiltIn { get; }

Property Value

bool

ContentType

Gets the content type of the part.

public string ContentType { get; }

Property Value

string

Id

Gets a globally unique identifier (GUID) that uniquely identifies this part in the document. Old version of Microsoft Word allowed any strings, but the new format requires a Guid string.

public string Id { get; }

Property Value

string

Schemas

Gets the list of XML schemes that are associated with the part. Any number of XML schemes can be referenced, and this list of schemes shall then be used to validate the contents of the part.

public List<string> Schemas { get; }

Property Value

System.Collections.Generic.List<T><string>

XmlDocument

Gets the XmlDocument that contains data of the part.

public XmlDocument XmlDocument { get; }

Property Value

System.Xml.XmlDocument

Methods

Equals(CustomXmlPart)

Determines whether the specified CustomXmlPart is equal to the current object.

public bool Equals(CustomXmlPart right)

Parameters

right CustomXmlPart

The CustomXmlPart to compare with the current object.

Returns

bool

True if the specified CustomXmlPart is equal to the current object; otherwise, false.

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int