EndpointCollectionElement::ContainsKey Method (String^)

.NET Framework (current version)
 

Determines whether the service element in a configuration file contains an endpoint element with the same name as the specified string.

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

public:
virtual bool ContainsKey(
	String^ name
) abstract

Parameters

name
Type: System::String^

The name of the key in a key/value pair that represents an endpoint element name and value.

Return Value

Type: System::Boolean

true if the specified string contains a specified element name; otherwise false.

.NET Framework
Available since 4.0
Return to top
Show: