Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SearchConfiguration::ConfigurationExists Method (IEnumerable<String^>^, String^)

 

Returns a value that indicates whether the given configuration name occurs in the provided configuration list.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public:
static bool ConfigurationExists(
	IEnumerable<String^>^ configList,
	String^ configNameToSearch
)

Parameters

configList
Type: System.Collections.Generic::IEnumerable<String^>^

An IEnumerable<T> list of string values.

configNameToSearch
Type: System::String^

The configuration name to find.

Return Value

Type: System::Boolean

true if the configuration name is found; otherwise, false.

Return to top
Show: