docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StringSearchCriteria

    Exposes partial string searches.

    Inheritance
    object
    BaseSearchCriteria
    SearchCriteria<string>
    StringSearchCriteria
    Inherited Members
    BaseSearchCriteria.PropertyName
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Assets
    Assembly: Unity.Cloud.Assets.dll
    Syntax
    public class StringSearchCriteria : SearchCriteria<string>

    Methods

    Clear()

    Clears the criteria fields.

    Declaration
    public override void Clear()
    Overrides
    SearchCriteria<string>.Clear()

    WithFuzzyValue(string)

    Sets the fuzzy value of the string search term.

    Declaration
    [Obsolete("Use WithValue(StringPredicate) instead.")]
    public void WithFuzzyValue(string value)
    Parameters
    Type Name Description
    string value

    The approximate string to match.

    WithValue(string)

    Sets the value of the search criteria.

    Declaration
    public override void WithValue(string value)
    Parameters
    Type Name Description
    string value

    The expected value of the field.

    Overrides
    SearchCriteria<string>.WithValue(string)

    WithValue(string, SearchOptions)

    Sets the value of the string search term.

    Declaration
    [Obsolete("Use WithValue(StringPredicate) instead.")]
    public void WithValue(string value, StringSearchCriteria.SearchOptions options)
    Parameters
    Type Name Description
    string value

    The string to match.

    StringSearchCriteria.SearchOptions options

    The additional options.

    WithValue(Regex)

    Sets the pattern of the string search term.

    Declaration
    public void WithValue(Regex pattern)
    Parameters
    Type Name Description
    Regex pattern

    The string pattern to match.

    WithValue(StringPredicate)

    Sets the predicate criteria for the string search term.

    Declaration
    public void WithValue(StringPredicate stringPredicate)
    Parameters
    Type Name Description
    StringPredicate stringPredicate

    The string predicate to match.

    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)