Class UnknownRecord
This record describes all unknown information in records.
Inheritance
Inherited Members
Namespace: Syncfusion.XlsIO.Parser.Biff_Records
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
[Biff(TBIFFRecord.Unknown)]
[CLSCompliant(false)]
public class UnknownRecord : BiffRecordRawWithArray, IBiffStorage, IDisposable, ICloneable
Constructors
UnknownRecord()
Default constructor
Declaration
public UnknownRecord()
UnknownRecord(Int32)
Reserved for record's internal data array.
Declaration
public UnknownRecord(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. |
UnknownRecord(BinaryReader, out Int32)
Read / initialize constructor.
Declaration
public UnknownRecord(BinaryReader reader, out int itemSize)
Parameters
Type | Name | Description |
---|---|---|
System.IO.BinaryReader | reader | Reader 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. |
UnknownRecord(Stream, out Int32)
Read / initialize constructor.
Declaration
public UnknownRecord(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. |
Properties
DataLen
Gets / sets length of the data array.
Declaration
public int DataLen { get; set; }
Property Value
Type |
---|
System.Int32 |
Empty
Declaration
public static BiffRecordRaw Empty { get; }
Property Value
Type |
---|
Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw |
NeedDataArray
Declaration
public override bool NeedDataArray { get; }
Property Value
Type |
---|
System.Boolean |
Overrides
RecordCode
Declaration
public int RecordCode { get; set; }
Property Value
Type |
---|
System.Int32 |
Methods
Clone()
Clones current instance.
Declaration
public object Clone()
Returns
Type | Description |
---|---|
System.Object | Returns cloned object. |
GetStoreSize(ExcelVersion)
Size of the required storage space. Read-only.
Declaration
public override int GetStoreSize(ExcelVersion version)
Parameters
Type | Name | Description |
---|---|---|
ExcelVersion | version |
Returns
Type |
---|
System.Int32 |
Overrides
ParseStructure()
Parse structure of record. Converts data buffer to special values according to record specification.
Declaration
public override void ParseStructure()