Edit

Share via


EndpointCollectionElement.ContainsKey(String) Method

Definition

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

public:
 abstract bool ContainsKey(System::String ^ name);
public abstract bool ContainsKey (string name);
abstract member ContainsKey : string -> bool
Public MustOverride Function ContainsKey (name As String) As Boolean

Parameters

name
String

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

Returns

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

Applies to