ElementInformation::IsPresent Property

 

Gets a value indicating whether the associated ConfigurationElement object is in the configuration file.

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

public:
property bool IsPresent {
	bool get();
}

Property Value

Type: System::Boolean

true if the associated ConfigurationElement object is in the configuration file; otherwise, false.

The following example shows how to use the IsPresent property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: