Class WorksheetCustomProperties
Represents collection of all custom properties in the worksheet.
Inheritance
System.Object
WorksheetCustomProperties
Implements
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ICustomProperty>>
System.Collections.IEnumerable
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, ICustomProperty>>
System.Collections.IDictionary
System.Collections.ICollection
Inherited Members
Syncfusion.XlsIO.Implementation.TypedSortedListEx<System.String, Syncfusion.XlsIO.ICustomProperty>.CopyTo(System.Array, System.Int32)
Syncfusion.XlsIO.Implementation.TypedSortedListEx<System.String, Syncfusion.XlsIO.ICustomProperty>.CopyTo(System.Collections.Generic.KeyValuePair<System.String, Syncfusion.XlsIO.ICustomProperty>[], System.Int32)
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class WorksheetCustomProperties : TypedSortedListEx<string, ICustomProperty>, IEnumerable<KeyValuePair<string, ICustomProperty>>, IEnumerable, IDictionary<string, ICustomProperty>, ICollection<KeyValuePair<string, ICustomProperty>>, IDictionary, ICollection, IWorksheetCustomProperties
Constructors
WorksheetCustomProperties()
Default constructor.
Declaration
public WorksheetCustomProperties()
WorksheetCustomProperties(IList, Int32)
Extracts custom properties from the array of Biff records.
Declaration
public WorksheetCustomProperties(IList m_arrRecords, int iCustomPropertyPos)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IList | m_arrRecords | Array to parse. |
System.Int32 | iCustomPropertyPos | Position of the first custom property. |
Properties
Item[Int32]
Returns single entry from the collection by index. Read-only.
Declaration
public ICustomProperty this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ICustomProperty |
Item[String]
Returns single entry from the collection by index. Read-only.
Declaration
public ICustomProperty this[string strName] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | strName |
Property Value
Type |
---|
ICustomProperty |
Methods
Add(ICustomProperty)
Adds new property to the collection.
Declaration
public ICustomProperty Add(ICustomProperty property)
Parameters
Type | Name | Description |
---|---|---|
ICustomProperty | property | Property to add. |
Returns
Type | Description |
---|---|
ICustomProperty | Added property. |
Add(CustomPropertyRecord)
Adds new property to the collection.
Declaration
public void Add(CustomPropertyRecord property)
Parameters
Type | Name | Description |
---|---|---|
CustomPropertyRecord | property | Property to add. |
Add(String)
Adds new property to the collection.
Declaration
public ICustomProperty Add(string strName)
Parameters
Type | Name | Description |
---|---|---|
System.String | strName | Name of the new property. |
Returns
Type | Description |
---|---|
ICustomProperty | Newly created property. |
Serialize(OffsetArrayList)
Serializes collection into as set of Biff records.
Declaration
public void Serialize(OffsetArrayList records)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | OffsetArrayList to serialize into. |
Implements
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
System.Collections.Generic.IDictionary<, >
System.Collections.Generic.ICollection<>
System.Collections.IDictionary
System.Collections.ICollection