docs.unity3d.com
    Show / Hide Table of Contents

    Interface INamedProperties<TContainer>

    This interface provides access to an IProperty<TContainer> of a IPropertyBag<TContainer> by name.

    Namespace: Unity.Properties
    Syntax
    public interface INamedProperties<TContainer>
    Type Parameters
    Name Description
    TContainer

    The container type to access.

    Methods

    TryGetProperty(ref TContainer, String, out IProperty<TContainer>)

    Gets the property associated with the specified name.

    Declaration
    bool TryGetProperty(ref TContainer container, string name, out IProperty<TContainer> property)
    Parameters
    Type Name Description
    TContainer container

    The container hosting the data.

    String name

    The name of the property to get.

    IProperty<TContainer> property

    When this method returns, contains the property associated with the specified name, if the name is found; otherwise, null.

    Returns
    Type Description
    Boolean

    true if the INamedProperties<TContainer> contains a property with the specified name; otherwise, false.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023