Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Resources Namespace / UserSettingsManager Class / GetValueByKey Method / GetValueByKey(String,String) Method
Key for which to get the value
Default value to return if the keyed item is not present
In This Topic
    GetValueByKey(String,String) Method
    In This Topic
    Gets the value of a setting for the given key
    Syntax
    public string GetValueByKey( 
       string key,
       string defaultValue
    )

    Parameters

    key
    Key for which to get the value
    defaultValue
    Default value to return if the keyed item is not present

    Return Value

    Value of the setting for the given key
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also