docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property Capacity

    Capacity

    The number of values that fit in the current allocation.

    Declaration
    public int Capacity { readonly get; set; }
    Property Value
    Type Description
    int

    The number of values that fit in the current allocation.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if value is less than the current capacity.

    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)