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

 

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

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

public:
bool ContainsKey(
	Type^ elementType
)

Parameters

elementType
Type: System::Type^

The type of the element to search for.

Return Value

Type: System::Boolean

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

Exception Condition
ArgumentNullException

elementName is null.

.NET Framework
Available since 3.0
Return to top
Show: