XmlConfigHelper.IsPrefixUsedInAppSettings(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether an appSetting key exists with the specified keyPrefix.
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
Parameters
- keyPrefix
- String
The prefix string to check for.
Returns
true if an appSetting already exists that has a key starting with the keyPrefix; otherwise, false.