docs.unity.cn
    Show / Hide Table of Contents

    Property Item

    Item[Int32]

    The element of the array at the index position.

    Declaration
    public readonly ref T this[int index] { get; }
    Parameters
    Type Name Description
    Int32 index

    The array index.

    Property Value
    Type Description
    T
    Remarks

    The array element is a reference return.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    Thrown if index is out of bounds.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use