Class XmlMapCollection
Class to hold Xml collection.
Inheritance
System.Object
XmlMapCollection
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class XmlMapCollection : Object
Constructors
XmlMapCollection(WorkbookImpl)
Create an instance of XmlMapCollection.
Declaration
public XmlMapCollection(WorkbookImpl parent)
Parameters
Type | Name | Description |
---|---|---|
WorkbookImpl | parent | Parent workbook object. |
Properties
Count
Returns the number of XmlMap object in the collection. Read-Only Integer.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
Returns XmlMap object from its collection for the given index. Read-Only.
Declaration
public XmlMap this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Zero-based index value. |
Property Value
Type |
---|
XmlMap |
Methods
Add(Stream)
Adds the XML map to the workbook based on the specified XML data stream.
Declaration
public bool Add(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream data of the xml file. |
Returns
Type | Description |
---|---|
System.Boolean | Returns TRUE if the XML is valid. |
Remarks
The stream should be passed as file stream to bind the xml