ConfigurationSectionGroup.IsDeclarationRequired Właściwość

Definicja

Pobiera wartość wskazującą, czy ta ConfigurationSectionGroup deklaracja obiektu jest wymagana.

public:
 property bool IsDeclarationRequired { bool get(); };
public bool IsDeclarationRequired { get; }
member this.IsDeclarationRequired : bool
Public ReadOnly Property IsDeclarationRequired As Boolean

Wartość właściwości

true jeśli ta ConfigurationSectionGroup deklaracja jest wymagana; w przeciwnym razie false.

Przykłady

Poniższy przykład kodu określa, czy to wystąpienie deklaracji ConfigurationSectionGroup jest wymagane.

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

Dotyczy

Zobacz też