• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class XmlMapCollection

Represents a collection of XmlMap objects on a workbook.

Inheritance
object
XmlMapCollection
Implements
IEnumerable<XmlMap>
IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
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
Type Description
int

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
Type Description
XmlMap

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
Type Description
XmlMap

Methods

Add(XmlMap)

Adds an existing XmlMap to the collection.

Declaration
public XmlMap Add(XmlMap xmlMap)
Parameters
Type Name Description
XmlMap xmlMap
Returns
Type Description
XmlMap

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
Type Description
XmlMap

The created XmlMap.

Clear()

Removes all XML maps from the collection.

Declaration
public void Clear()

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<XmlMap> GetEnumerator()
Returns
Type Description
IEnumerator<XmlMap>

Remove(XmlMap)

Removes the specified XML map.

Declaration
public bool Remove(XmlMap xmlMap)
Parameters
Type Name Description
XmlMap xmlMap
Returns
Type Description
bool

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX