ConfigurationExtensions.Exists(IConfigurationSection) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.