StandardBindingCollectionElement<TStandardBinding, TBindingConfiguration>.ContainsKey Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines whether a binding exists in the collection using the specified name.

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

public override bool ContainsKey(
	string name


Type: System.String

The name of the binding to be located.

Return Value

Type: System.Boolean

true if the collection contains the binding with the specified name; otherwise, false.

.NET Framework
Available since 3.0
Return to top