XmlConfigHelper.IsPrefixUsedInAppSettings(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si une clé appSetting existe avec le keyPrefix spécifié.
public:
abstract bool IsPrefixUsedInAppSettings(System::String ^ keyPrefix);
public:
abstract bool IsPrefixUsedInAppSettings(Platform::String ^ keyPrefix);
abstract bool IsPrefixUsedInAppSettings(std::wstring const & keyPrefix);
public abstract bool IsPrefixUsedInAppSettings(string keyPrefix);
abstract member IsPrefixUsedInAppSettings : string -> bool
Public MustOverride Function IsPrefixUsedInAppSettings (keyPrefix As String) As Boolean
Paramètres
- keyPrefix
- String
Chaîne de préfixe pour laquelle case activée.
Retours
true si un appSetting existe déjà qui a une clé commençant par le keyPrefix ; sinon, false.