Interface ICustomXmlPartCollection
Represents custom xml part collection in excel.
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public interface ICustomXmlPartCollection : IEnumerable
Properties
Count
Returns the number of objects in the collection. Read-only Long.
Declaration
int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
Returns the parent object for the specified object.
Declaration
ICustomXmlPart this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ICustomXmlPart |
Methods
Add(ICustomXmlPart)
Defines a new name.
Declaration
ICustomXmlPart Add(ICustomXmlPart customXmlPart)
Parameters
Type | Name | Description |
---|---|---|
ICustomXmlPart | customXmlPart | Name for the new Name object. |
Returns
Type | Description |
---|---|
ICustomXmlPart | Returns a Name object. |
Add(String)
Defines a new name.
Declaration
ICustomXmlPart Add(string ID)
Parameters
Type | Name | Description |
---|---|---|
System.String | ID | ID for the new Name object. |
Returns
Type | Description |
---|---|
ICustomXmlPart | Returns a Name object. |
Add(String, Byte[])
Declaration
ICustomXmlPart Add(string ID, byte[] XmlData)
Parameters
Type | Name | Description |
---|---|---|
System.String | ID | |
System.Byte[] | XmlData |
Returns
Type |
---|
ICustomXmlPart |
Clear()
Defines a new name.
Declaration
void Clear()
Clone()
Checks whether the Name object is present in the collection or not
Declaration
ICustomXmlPartCollection Clone()
Returns
Type | Description |
---|---|
ICustomXmlPartCollection | A custom xml part collection cloned object. |
GetById(String)
Checks whether the Name object is present in the collection or not
Declaration
ICustomXmlPart GetById(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Name object to check whether it is present or not. |
Returns
Type | Description |
---|---|
ICustomXmlPart | A custom xml part for the corresponding ID. |
RemoveAt(Int32)
Removes the element at the specified index of the collection.
Declaration
void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to remove. |