docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetValue

    TryGetValue(InstanceId, out MetadataObject)

    Tries to get the MetadataObject with the specified ownerId.

    Declaration
    public bool TryGetValue(InstanceId key, out MetadataObject value)
    Parameters
    Type Name Description
    InstanceId key

    The ownerId.

    MetadataObject value

    The value.

    Returns
    Type Description
    bool

    true if a value was successfully retrieved; otherwise, false.

    Implements
    IReadOnlyDictionary<TKey, TValue>.TryGetValue(TKey, out TValue)
    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 15, 2023