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.

C#
public abstract bool ContainsKey(string name);

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

Produkt Wersje
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1