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.

적용 대상