Class WorksheetCustomProperties
Represents collection of all custom properties in the worksheet.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class WorksheetCustomProperties : TypedSortedListEx<string, ICustomProperty>, IDictionary<string, ICustomProperty>, ICollection<KeyValuePair<string, ICustomProperty>>, IEnumerable<KeyValuePair<string, ICustomProperty>>, IDictionary, ICollection, IEnumerable, IWorksheetCustomProperties
Constructors
WorksheetCustomProperties()
Default constructor.
Declaration
public WorksheetCustomProperties()
WorksheetCustomProperties(IList, int)
Extracts custom properties from the array of Biff records.
Declaration
public WorksheetCustomProperties(IList m_arrRecords, int iCustomPropertyPos)
Parameters
| Type | Name | Description |
|---|---|---|
| IList | m_arrRecords | Array to parse. |
| int | iCustomPropertyPos | Position of the first custom property. |
Properties
this[int]
Returns single entry from the collection by index. Read-only.
Declaration
public ICustomProperty this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index |
Property Value
| Type |
|---|
| ICustomProperty |
this[string]
Returns single entry from the collection by index. Read-only.
Declaration
public ICustomProperty this[string strName] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| 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
[CLSCompliant(false)]
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 |
|---|---|---|
| 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
[CLSCompliant(false)]
public void Serialize(OffsetArrayList records)
Parameters
| Type | Name | Description |
|---|---|---|
| OffsetArrayList | records | OffsetArrayList to serialize into. |