menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BiffRecordPosAttribute - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BiffRecordPosAttribute

    Attribute of records class members that provide information about location of the variable in binary data. It also indicates type to which the data must be converted to.

    Inheritance
    System.Object
    BiffRecordPosAttribute
    Implements
    System.IComparable
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.UWP.dll
    Syntax
    public sealed class BiffRecordPosAttribute : Attribute, IComparable

    Constructors

    BiffRecordPosAttribute(Int32, TFieldType)

    Creates attribute by field position and field type. Field size is zero and field is unsigned.

    Declaration
    public BiffRecordPosAttribute(int pos, TFieldType type)
    Parameters
    Type Name Description
    System.Int32 pos

    Position of the filed data in the record data array.

    TFieldType type

    Type of the field.

    BiffRecordPosAttribute(Int32, Int32)

    Creates attribute for unsigned field by field position and size.

    Declaration
    public BiffRecordPosAttribute(int pos, int size)
    Parameters
    Type Name Description
    System.Int32 pos

    Position of the filed data in the record data array.

    System.Int32 size

    Size of the field data or position of the bit in the byte.

    BiffRecordPosAttribute(Int32, Int32, TFieldType)

    Creates attribute for unsigned field by field position, size, and field type.

    Declaration
    public BiffRecordPosAttribute(int pos, int size, TFieldType type)
    Parameters
    Type Name Description
    System.Int32 pos

    Position of the filed data in the record data array.

    System.Int32 size

    Size of the field data or position of the bit in the byte.

    TFieldType type

    Type of the field.

    BiffRecordPosAttribute(Int32, Int32, Boolean)

    Creates attribute for integer field by its position, size, and signed flag.

    Declaration
    public BiffRecordPosAttribute(int pos, int size, bool isSigned)
    Parameters
    Type Name Description
    System.Int32 pos

    Position of the filed data in the record data array.

    System.Int32 size

    Size of the field data or position of the bit in the byte.

    System.Boolean isSigned

    Is field signed or not?

    BiffRecordPosAttribute(Int32, Int32, Boolean, TFieldType)

    Creates attribute by field position, size, signed flag, and field type.

    Declaration
    public BiffRecordPosAttribute(int pos, int size, bool isSigned, TFieldType type)
    Parameters
    Type Name Description
    System.Int32 pos

    Position of the filed data in the record data array.

    System.Int32 size

    Size of the field data or position of the bit in the byte.

    System.Boolean isSigned

    Is field signed or not?

    TFieldType type

    Type of the field.

    Properties

    IsBit

    Read-only. Returns True if attribute describes bit field.

    Declaration
    public bool IsBit { get; }
    Property Value
    Type
    System.Boolean

    IsFloat

    Read-only. Returns True if attribute describes float field.

    Declaration
    public bool IsFloat { get; }
    Property Value
    Type
    System.Boolean

    IsOEMString

    Read-only. Returns True if this attribute describes OEM string.

    Declaration
    public bool IsOEMString { get; }
    Property Value
    Type
    System.Boolean

    IsOEMString16Bit

    Read-only. Returns True if this attribute describes OEM string with 16 bit length field.

    Declaration
    public bool IsOEMString16Bit { get; }
    Property Value
    Type
    System.Boolean

    IsSigned

    Read-only. Returns True if attribute describes signed field.

    Declaration
    public bool IsSigned { get; }
    Property Value
    Type
    System.Boolean

    IsString

    Read-only. Returns True if attribute describes string field.

    Declaration
    public bool IsString { get; }
    Property Value
    Type
    System.Boolean

    IsString16Bit

    Indicates whether attribute describes string field with 16 bit length.

    Declaration
    public bool IsString16Bit { get; }
    Property Value
    Type
    System.Boolean

    Position

    Read-only. Returns position of the field in the record data.

    Declaration
    public int Position { get; }
    Property Value
    Type
    System.Int32

    SizeOrBitPosition

    Read-only. Returns size of the filed or bit position (for bit fields).

    Declaration
    public int SizeOrBitPosition { get; }
    Property Value
    Type
    System.Int32

    Methods

    CompareTo(Object)

    Compares the object

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type
    System.Int32

    Implements

    System.IComparable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved