Taal

ConfigurationExtensions.Exists(IConfigurationSection) Methode

Definitie

Bepaalt of de sectie een Value of meer onderliggende items heeft.

public:
[System::Runtime::CompilerServices::Extension]
 static bool Exists(Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static bool Exists(this Microsoft.Extensions.Configuration.IConfigurationSection? section);
static member Exists : Microsoft.Extensions.Configuration.IConfigurationSection -> bool
<Extension()>
Public Function Exists (section As IConfigurationSection) As Boolean

Parameters

section
IConfigurationSection

De sectie die moet worden opgesomd.

Retouren

true als de sectie waarden of onderliggende elementen bevat; anders, false.

Van toepassing op