docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property this

    this[int]

    The byte at an index.

    Declaration
    public byte this[int index] { readonly get; set; }
    Parameters
    Type Name Description
    int index

    A zero-based byte index.

    Property Value
    Type Description
    byte

    The byte at the index.

    Implements
    INativeList<T>.this[int]
    Exceptions
    Type Condition
    IndexOutOfRangeException

    Thrown if the index is out of bounds.

    NotSupportedException

    Thrown if ENABLE_UNITY_COLLECTIONS_CHECKS is defined and a write is attempted.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)