docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MetadataPathCollection

    Represents a strongly typed collection of strings. Provides methods to enumerate the paths in the collection.

    Implements
    IEnumerable<string>
    IEnumerable
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Cloud.DataStreaming.Metadata
    Assembly: Unity.Cloud.DataStreaming.Runtime.dll
    Syntax
    public readonly struct MetadataPathCollection : IEnumerable<string>, IEnumerable
    Remarks

    Allow to limit the returned Properties to a specific set of keys with Select(MetadataPathCollection).

    Constructors

    MetadataPathCollection(IEnumerable<string>)

    Constructor with the set of strings.

    Declaration
    public MetadataPathCollection(IEnumerable<string> paths)
    Parameters
    Type Name Description
    IEnumerable<string> paths

    Properties paths.

    MetadataPathCollection(params string[])

    Constructor with the set of strings.

    Declaration
    public MetadataPathCollection(params string[] paths)
    Parameters
    Type Name Description
    string[] paths

    Properties paths.

    Properties

    All

    If given to Select(MetadataPathCollection), the query will return all the fields path available in the dataset.

    Declaration
    public static MetadataPathCollection All { get; }
    Property Value
    Type Description
    MetadataPathCollection

    None

    If given to Select(MetadataPathCollection), the query will return no fields path in the Properties, only the Id and its other fields will be returned.

    Declaration
    public static MetadataPathCollection None { get; }
    Property Value
    Type Description
    MetadataPathCollection

    Methods

    GetEnumerator()

    Declaration
    public IEnumerator<string> GetEnumerator()
    Returns
    Type Description
    IEnumerator<string>

    Implements

    IEnumerable<T>
    IEnumerable
    In This Article
    Back to top
    Copyright © 2025 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)