Share via


XmlConfigHelper.IsPrefixUsedInAppSettings(String) Method

Definition

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.

Applies to