Class PropertyData
Inheritance
System.Object
PropertyData
Namespace: Syncfusion.CompoundFile.XlsIO.Net
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class PropertyData : Object, IPropertyData, IComparable
Constructors
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 Data
Field Value
Type |
---|
System.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 |
---|
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 |
---|
System.Runtime.InteropServices.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