Class PropertyData
Inheritance
System.Object
PropertyData
Inherited Members
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.CompoundFile.DocIO.Net
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class PropertyData : 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 | Description |
---|---|
System.Object |
PropertyType
Declaration
public PropertyType PropertyType
Field Value
Type | Description |
---|---|
PropertyType |
Properties
Id
GEts or sets property id.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
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 | Description |
---|---|
System.Boolean |
Name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ParentId
Returns id of the parent property. Read-only.
Declaration
public int ParentId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Declaration
public VarEnum Type { get; set; }
Property Value
Type | Description |
---|---|
System.Runtime.InteropServices.VarEnum |
Value
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
CompareTo(Object)
Declaration
public int CompareTo(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
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 | Description |
---|---|
System.Boolean |
Implements
System.IComparable