Class XmlMapCollection
Class to hold Xml collection.
Inheritance
System.Object
XmlMapCollection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class XmlMapCollection
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
Add(String)
Added the XML document to the workbook using file path.
Declaration
public bool Add(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Represents the XML file |
Returns
Type |
---|
System.Boolean |