docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MultiValueMetadata

    A class which can be used as a filter for searching for metadatas with multiple string values.

    Inheritance
    object
    Metadata
    MultiValueMetadata
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.AssetManager.Editor
    Assembly: Unity.AssetManager.Core.Editor.dll
    Syntax
    [Serializable]
    public sealed class MultiValueMetadata : Metadata

    Constructors

    MultiValueMetadata(IEnumerable<string>)

    Creates a new instance of the MultiValueMetadata class.

    Declaration
    public MultiValueMetadata(IEnumerable<string> values)
    Parameters
    Type Name Description
    IEnumerable<string> values

    For metadata that can have multiple values, this is the list of values to search for. This search values must match all values in the metadata.

    Properties

    Values

    For metadata that can have multiple values, this is the list of values to search for. This search values must match all values in the metadata.

    Declaration
    public IEnumerable<string> Values { get; }
    Property Value
    Type Description
    IEnumerable<string>
    Examples

    Given a metadata with values of "selection-A", "selection-B", and "selection-C", the array for search must contain "selection-A", "selection-B", and "selection-C".

    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)