GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    CustomXmlPart Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a custom XML part within a document that contains arbitrary custom XML markup.

    • C#
    • VB.NET
    public sealed class CustomXmlPart
    Public NotInheritable Class CustomXmlPart
    Inheritance:
    System.Object
    CustomXmlPart

    Constructors

    CustomXmlPart()

    Initializes a new instance of the CustomXmlPart class.

    • C#
    • VB.NET
    public CustomXmlPart()
    Public Sub New

    Properties

    Data

    Gets or sets the custom XML part data.

    • C#
    • VB.NET
    public byte[] Data { get; set; }
    Public Property Data As Byte()
    Property Value
    System.Byte[]

    The custom XML part data.

    Exceptions
    System.ArgumentNullException

    Value is null.

    Id

    Gets or sets the custom XML part ID.

    If value is not null, then it should be a System.Guid value converted to System.String with a System.Guid.ToString(System.String) method with a B specifier.

    • C#
    • VB.NET
    public string Id { get; set; }
    Public Property Id As String
    Property Value
    System.String

    The custom XML part ID.

    Schemas

    Gets the set of associated XML schemas.

    • C#
    • VB.NET
    public IList<string> Schemas { get; }
    Public ReadOnly Property Schemas As IList(Of String)
    Property Value
    System.Collections.Generic.IList<System.String>

    The set of associated XML schemas.

    See Also

    CustomXmlParts
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.