ConfigurationExtensions.Exists(IConfigurationSection) メソッド

定義

セクションに Value があるか、または子があるかどうかを判断します。

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

パラメーター

section
IConfigurationSection

列挙するセクション。

戻り値

true セクションに値または子がある場合は 。それ以外の場合は false

適用対象