ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>::ContainsKey Method (String^)

 

Determines whether this collection contains an element of the specified name.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
bool ContainsKey(
	String^ elementName
)

Parameters

elementName
Type: System::String^

The name of the element to search for.

Return Value

Type: System::Boolean

true if the collection contains an element of the specified name; otherwise, false.

Exception Condition
ArgumentNullException

elementName is null.

.NET Framework
Available since 3.0
Return to top
Show: