ConfigurationElement::HasContext Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates whether the CurrentConfiguration property is null.

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

property bool HasContext {
	bool get();

Property Value

Type: System::Boolean

false if the CurrentConfiguration property is null; otherwise, true.

.NET Framework
Available since 4.5
Return to top