Class BiffRecordWithStreamPos
Summary description for _BiffRecordRawWithStreamPos.
Inheritance
System.Object
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw
BiffRecordWithStreamPos
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.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[CLSCompliant(false)]
public class BiffRecordWithStreamPos : BiffRecordRaw, ICloneable, IBiffStorage
Constructors
BiffRecordWithStreamPos()
Default constructor, gets code value using reflection and attributes.
Declaration
protected BiffRecordWithStreamPos()
BiffRecordWithStreamPos(Int32)
Reserved for record's internal data array iReserve bytes.
Declaration
protected BiffRecordWithStreamPos(int iReserve)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | iReserve | Amount of bytes for data array. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | If amount of bytes requested is less than zero. |
BiffRecordWithStreamPos(BinaryReader, out Int32)
Read / initialize constructor.
Declaration
protected BiffRecordWithStreamPos(BinaryReader reader, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | reader | BinaryReader from which record data should be read. |
System.Int32 | itemSize | Size of the read item. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | When specified reader is NULL. |
BiffRecordWithStreamPos(Stream, out Int32)
Read / initialize constructor.
Declaration
protected BiffRecordWithStreamPos(Stream stream, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | Stream from which record data should be read. |
System.Int32 | itemSize | Size of read item. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If stream is not specified. |
System.ApplicationException | If stream does not support read or seek operations. |
Fields
m_lStreamPosition
Position of the Biff record in the stream.
Declaration
protected long m_lStreamPosition
Field Value
Type | Description |
---|---|
System.Int64 |
Properties
StreamPos
Indicates record position in stream. This is a utility member of class and is used only in the serialization process. Does not influence the data.
Declaration
public override long StreamPos { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.StreamPos
Implements
System.ICloneable