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