Class XmlMapCollection
Represents a collection of XmlMap objects on a workbook.
Inheritance
XmlMapCollection
Assembly: DRIT.Spreadsheet.dll
Syntax
public class XmlMapCollection : IEnumerable<XmlMap>, IEnumerable
Properties
Count
Gets the number of XML maps in the collection.
Declaration
public int Count { get; }
Property Value
this[int]
Gets the XML map at the specified index.
Declaration
public XmlMap this[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
this[string]
Gets the XML map with the specified name.
Declaration
public XmlMap this[string name] { get; }
Parameters
| Type |
Name |
Description |
| string |
name |
|
Property Value
Methods
Add(XmlMap)
Adds an existing XmlMap to the collection.
Declaration
public XmlMap Add(XmlMap xmlMap)
Parameters
| Type |
Name |
Description |
| XmlMap |
xmlMap |
|
Returns
Add(string)
Adds a new XML map to the collection.
Declaration
public XmlMap Add(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
The name of the XML map.
|
Returns
Clear()
Removes all XML maps from the collection.
Declaration
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<XmlMap> GetEnumerator()
Returns
Remove(XmlMap)
Removes the specified XML map.
Declaration
public bool Remove(XmlMap xmlMap)
Parameters
| Type |
Name |
Description |
| XmlMap |
xmlMap |
|
Returns
Implements