menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ReferenceIndexAttribute - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ReferenceIndexAttribute

    There can be multiple token codes that correspond to one class, i.e. tRef1, tRef2, tRef3 correspond to class RefPtg. This attribute is used to help FormulaUtil choose the token code to use.

    Inheritance
    System.Object
    ReferenceIndexAttribute
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records.Formula
    Assembly: Syncfusion.XlsIO.Portable.dll
    Syntax
    public sealed class ReferenceIndexAttribute : Attribute

    Constructors

    ReferenceIndexAttribute(Int32)

    Creates attribute that describes the function that has the same token index index for all arguments.

    Declaration
    public ReferenceIndexAttribute(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of the token.

    ReferenceIndexAttribute(Int32[])

    Creates attribute for function with specified token indexes order. First member of the array corresponds to the first argument of the function, second member for the second argument and so on.

    Declaration
    public ReferenceIndexAttribute(params int[] arrParams)
    Parameters
    Type Name Description
    System.Int32[] arrParams

    Array of token indexes.

    ReferenceIndexAttribute(Type, Int32)

    Creates attribute for specified token type with specified token indexes.

    Declaration
    public ReferenceIndexAttribute(Type targetType, int index)
    Parameters
    Type Name Description
    System.Type targetType

    Target token class.

    System.Int32 index

    Token index for all function parameters.

    ReferenceIndexAttribute(Type, Int32[])

    Creates attribute for specified token type with specified token indexes.

    Declaration
    public ReferenceIndexAttribute(Type targetType, params int[] arrParams)
    Parameters
    Type Name Description
    System.Type targetType

    Target token class.

    System.Int32[] arrParams

    Array of token indexes.

    Properties

    Count

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

    Index

    Returns index of the reference.

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

    Item[Int32]

    Returns token index for the specified argument number.

    Declaration
    public int this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type
    System.Int32

    TargetType

    Target token class

    Declaration
    public Type TargetType { get; }
    Property Value
    Type
    System.Type
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved