Interface ICustomXmlSchemaCollection
A collection of all the Name objects in the application or workbook. Each Name object represents a defined name for a range of cells.
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public interface ICustomXmlSchemaCollection : 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 a single Name object from a Names collection.
Declaration
string this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
System.String |
Methods
Add(String)
Defines a new name.
Declaration
void Add(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name for the new Name object. |
Clear()
Defines a new name.
Declaration
void Clear()
Clone()
Defines a new name.
Declaration
ICustomXmlSchemaCollection Clone()
Returns
Type | Description |
---|---|
ICustomXmlSchemaCollection | A custom xml schema collection cloned object. |
IndexOf(String)
Defines a new name.
Declaration
int IndexOf(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Name object to add. |
Returns
Type | Description |
---|---|
System.Int32 | Index of the corresponding value in custom xml schema collection. |
Remove(String)
Removes Name object from the collection.
Declaration
void Remove(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the object to remove from the collection. |
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. |