ConfigurationExtensions.Exists(IConfigurationSection) Método

Definição

Determina se a seção tem um Value ou tem filhos.

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

Parâmetros

section
IConfigurationSection

A seção a ser enumerada.

Retornos

Boolean

true se a seção tiver valores ou filhos; caso contrário, false.

Aplica-se a