SearchConfiguration.ConfigurationExists Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the given configuration name occurs in the provided configuration list.
public:
static bool ConfigurationExists(System::Collections::Generic::IEnumerable<System::String ^> ^ configList, System::String ^ configNameToSearch);
public static bool ConfigurationExists (System.Collections.Generic.IEnumerable<string> configList, string configNameToSearch);
static member ConfigurationExists : seq<string> * string -> bool
Public Shared Function ConfigurationExists (configList As IEnumerable(Of String), configNameToSearch As String) As Boolean
Parameters
- configList
- IEnumerable<String>
An IEnumerable<T> list of string values.
- configNameToSearch
- String
The configuration name to find.
Returns
true if the configuration name is found; otherwise, false.