.NET Framework Class Library
ConfigurationSectionGroupIsDeclarationRequired Property

Gets a value that indicates whether this ConfigurationSectionGroup object declaration is required.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)
Syntax
Public ReadOnly Property IsDeclarationRequired As [%$TOPIC/ms134314_en-us_VS_110_2_0_0_0_0%]
public [%$TOPIC/ms134314_en-us_VS_110_2_0_1_0_0%] IsDeclarationRequired { get; }
public:
property [%$TOPIC/ms134314_en-us_VS_110_2_0_2_0_0%] IsDeclarationRequired {
	[%$TOPIC/ms134314_en-us_VS_110_2_0_2_0_1%] get ();
}
member IsDeclarationRequired : [%$TOPIC/ms134314_en-us_VS_110_2_0_3_0_0%] with get
function get IsDeclarationRequired () : [%$TOPIC/ms134314_en-us_VS_110_2_0_4_0_0%]

Property Value

Type: SystemBoolean
true if this ConfigurationSectionGroup declaration is required; otherwise, false.
Examples

The following code example determines whether this instance of the ConfigurationSectionGroup declaration is required.

indent("Is Group Required?: " + _
   sectionGroup.IsDeclarationRequired.ToString())
indent("Is Group Required?: " + 
    sectionGroup.IsDeclarationRequired);
Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1