.NET Client Documentation
5.3.0
Search Results for

    Show / Hide Table of Contents

    Matches Method

    Matches(IEnumerable<string>, string)

    Gets the best match for an item name out of a list of configuration patterns.

    Declaration
    string Matches(IEnumerable<string> patterns, string name)
    Parameters
    IEnumerable<string> patterns

    A list of configuration patterns.

    string name

    The item name to match.

    Returns
    string

    The element of the list that best matches the item , if any; otherwise null.

    Exceptions
    ConfigurationException

    Occurs when ambiguous configurations are found.

    In This Article
    Back to top Copyright © 2010-2023 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.