Class CustomXmlPart
Represnts the implementation of custom xml part
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class CustomXmlPart : CommonObject, IParentApplication, IDisposable, ICustomXmlPart
Constructors
CustomXmlPart(IApplication, Object)
Creates a new CustomXml object.
Declaration
public CustomXmlPart(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new CustomXml object. |
System.Object | parent | Parent object for the new CustomXml object. |
CustomXmlPart(IApplication, Object, String, ICustomXmlSchemaCollection, Int32)
Creates a new CustomXml object.
Declaration
public CustomXmlPart(IApplication application, object parent, string id, ICustomXmlSchemaCollection schemas, int index)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new CustomXml object. |
System.Object | parent | Parent object for the new CustomXml object. |
System.String | id | |
ICustomXmlSchemaCollection | schemas | Schemas to be added Range that will be associated with the specified name. |
System.Int32 | index |
CustomXmlPart(IApplication, Object, String, ICustomXmlSchemaCollection, Int32, Boolean)
Creates a new CustomXmlPart object.
Declaration
public CustomXmlPart(IApplication application, object parent, string id, ICustomXmlSchemaCollection customXmlSchemaCollection, int index, bool bIsLocal)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new CustomXmlPart object. |
System.Object | parent | Parent object for the new CustomXmlPart object. |
System.String | id | ID of the new CustomXmlPart object. |
ICustomXmlSchemaCollection | customXmlSchemaCollection | |
System.Int32 | index | |
System.Boolean | bIsLocal |
CustomXmlPart(IApplication, Object, String, Byte[], Int32)
Creates a new CustomXml object.
Declaration
public CustomXmlPart(IApplication application, object parent, string id, byte[] data, int index)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new CustomXml object. |
System.Object | parent | Parent object for the new CustomXml object. |
System.String | id | Name of the new CustomXml object. |
System.Byte[] | data | Xml Data in byte Array |
System.Int32 | index |
CustomXmlPart(IApplication, Object, String, Byte[], Int32, Boolean)
Creates a new customxml object.
Declaration
public CustomXmlPart(IApplication application, object parent, string id, byte[] data, int index, bool bIsLocal)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new customxml object. |
System.Object | parent | Parent object for the new customxml object. |
System.String | id | ID of the new customxml object. |
System.Byte[] | data | |
System.Int32 | index | |
System.Boolean | bIsLocal |
CustomXmlPart(IApplication, Object, String, Int32)
Creates new CustomXml object.
Declaration
public CustomXmlPart(IApplication application, object parent, string id, int index)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new CustomXml object. |
System.Object | parent | Parent object for the new CustomXml object. |
System.String | id | Name of the new Customxml object. |
System.Int32 | index | Current index. |
CustomXmlPart(IApplication, Object, String, Int32, Boolean)
Creates new CustomXml object.
Declaration
public CustomXmlPart(IApplication application, object parent, string id, int index, bool bIsLocal)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new CustomXml object. |
System.Object | parent | Parent object for the new CustomXml object. |
System.String | id | Name of the new CustomXml object. |
System.Int32 | index | Current index. |
System.Boolean | bIsLocal | Indicates whether CustomXml object is local. |
Properties
Data
XmlData in Byte array
Declaration
public byte[] Data { get; set; }
Property Value
Type |
---|
System.Byte[] |
Id
Unique ID for Xml Data
Declaration
public string Id { get; set; }
Property Value
Type |
---|
System.String |
Schemas
Xml Schemas collection for CustomXml data
Declaration
public ICustomXmlSchemaCollection Schemas { get; set; }
Property Value
Type |
---|
ICustomXmlSchemaCollection |
Methods
Clone()
create new clone object
Declaration
public ICustomXmlPart Clone()
Returns
Type |
---|
ICustomXmlPart |
Dispose()
Dispose
Declaration
public override void Dispose()
Overrides
SetIndex(Int32)
Sets index of the named range and raise event.
Declaration
public void SetIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | New index. |
SetIndex(Int32, Boolean)
Sets index of the named range.
Declaration
public void SetIndex(int index, bool bRaiseEvent)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | New index. |
System.Boolean | bRaiseEvent | Indicates whether events should be raised. |