Class PropertySection
Inheritance
System.Object
PropertySection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.CompoundFile.DocIO.Net
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class PropertySection
Constructors
PropertySection(Guid, Int32)
Initializes new instance of the section.
Declaration
public PropertySection(Guid guid, int sectionOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | |
System.Int32 | sectionOffset |
Properties
Count
Properties count.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Id
Section id.
Declaration
public Guid Id { get; set; }
Property Value
Type |
---|
System.Guid |
Length
Section size.
Declaration
public int Length { get; set; }
Property Value
Type |
---|
System.Int32 |
Offset
Offset to the section header.
Declaration
public int Offset { get; set; }
Property Value
Type |
---|
System.Int32 |
Properties
Gets list of all properties.
Declaration
public List<PropertyData> Properties { get; }
Property Value
Type |
---|
System.Collections.Generic.List<PropertyData> |
Methods
Parse(Stream)
Extracts properties from the stream.
Declaration
public void Parse(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to get section from. |
Serialize(Stream)
Saves section into stream.
Declaration
public void Serialize(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream to save section into. |