ConfigurationExtensions.Exists(IConfigurationSection) Metoda

Definice

Určuje, zda má oddíl nebo má podřízené Value položky.

public:
[System::Runtime::CompilerServices::Extension]
 static bool Exists(Microsoft::Extensions::Configuration::IConfigurationSection ^ section);
public static bool Exists (this 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

Parametry

section
IConfigurationSection

Oddíl, který chcete vytvořit výčet.

Návraty

truepokud oddíl obsahuje hodnoty nebo podřízené položky; v opačném případě . false

Platí pro