ConfigurationExtensions.Exists(IConfigurationSection) Yöntem

Tanım

Bölümün bir Value veya alt öğeye sahip olup olmadığını belirler.

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

Parametreler

section
IConfigurationSection

Numaralandıracak bölüm.

Döndürülenler

true bölümün değerleri veya alt öğeleri varsa; aksi takdirde , false.

Şunlara uygulanır