ProtocolElementCollection.ContainsKey Method (Object)


Returns a Boolean that indicates whether a ProtocolElement with the specified key exists in the collection.

Namespace:   System.Web.Services.Configuration
Assembly:  System.Web.Services (in System.Web.Services.dll)

public bool ContainsKey(
	object key


Type: System.Object

The key of the ProtocolElement to find in the collection.

Return Value

Type: System.Boolean

true if the collection contains a ProtocolElement with the specified key; otherwise, false.

.NET Framework
Available since 2.0
Return to top