Class WorksheetCustomProperties
Represents collection of all custom properties in the worksheet.
Inheritance
System.Object
WorksheetCustomProperties
Implements
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, ICustomProperty>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, ICustomProperty>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
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)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.Base.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, 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 | Description |
---|---|
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 | Description |
---|---|
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 |
---|---|---|
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
[CLSCompliant(false)]
public void Serialize(OffsetArrayList records)
Parameters
Type | Name | Description |
---|---|---|
OffsetArrayList | records | OffsetArrayList to serialize into. |
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable