ConfigurationPropertyCollection::Contains Method (String^)

 

Specifies whether the configuration property is contained in this collection.

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

public:
bool Contains(
	String^ name
)

Parameters

name
Type: System::String^

An identifier for the ConfigurationProperty to verify.

Return Value

Type: System::Boolean

true if the specified ConfigurationProperty is contained in the collection; otherwise, false.

The following example shows how to use the Contains method.

.NET Framework
Available since 2.0
Return to top
Show: