.NET Client Documentation
5.1.1
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-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.