Class PropertyData
Inherited Members
Namespace: Syncfusion.CompoundFile.XlsIO.Net
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class PropertyData : IPropertyData, IComparable
Constructors
PropertyData(int)
Initializes new instance of the property data.
Declaration
public PropertyData(int id)
Parameters
| Type | Name | Description |
|---|---|---|
| int | id | Id for the new property.. |
Fields
DEF_FILETIME_TICKS_DIFFERENCE
Difference in ticks of FILETIME and DateTime.
Declaration
public const long DEF_FILETIME_TICKS_DIFFERENCE = 504911232000000000
Field Value
| Type |
|---|
| long |
Data
Declaration
public object Data
Field Value
| Type |
|---|
| object |
PropertyType
Declaration
public PropertyType PropertyType
Field Value
| Type |
|---|
| PropertyType |
Properties
Id
GEts or sets property id.
Declaration
public int Id { get; set; }
Property Value
| Type |
|---|
| int |
IsLinkToSource
Indicates whether it is property or just link to source of some property. Read-only.
Declaration
public bool IsLinkToSource { get; }
Property Value
| Type |
|---|
| bool |
Name
Name of the property.
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| string |
ParentId
Returns id of the parent property. Read-only.
Declaration
public int ParentId { get; }
Property Value
| Type |
|---|
| int |
Type
Sets type of the variant. Write-only.
Declaration
public VarEnum Type { get; set; }
Property Value
| Type |
|---|
| VarEnum |
Value
Gets property value.
Declaration
public object Value { get; set; }
Property Value
| Type |
|---|
| object |
Methods
CompareTo(object)
Declaration
public int CompareTo(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type |
|---|
| int |
Parse(Stream, int)
Extracts property data from the stream.
Declaration
public void Parse(Stream stream, int roundedSize)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to get data from. |
| int | roundedSize |
Serialize(Stream)
Writes property data into the stream.
Declaration
public int Serialize(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream to write data into. |
Returns
| Type | Description |
|---|---|
| int | Number of written bytes. |
SetValue(object, PropertyType)
Sets property value.
Declaration
public bool SetValue(object value, PropertyType type)
Parameters
| Type | Name | Description |
|---|---|---|
| object | value | Value to set. |
| PropertyType | type | Type of the property to set. |
Returns
| Type |
|---|
| bool |