C# Class JP.Utils.Data.LocalSettingHelper

ファイルを表示 Open project: JuniperPhoton/JP.Utils.UWP

Public Methods

Method Description
AddValue ( string key, bool value, bool isCheckExist = false ) : bool
AddValue ( string key, string value, bool isCheckExist = false ) : bool

添加键值,如果存在键则更新值

CleanUpAll ( ) : void
DeleteValue ( string key ) : void

删除键值

GetValue ( string key ) : string

获取某键的值

HasValue ( string key ) : bool

检查是否有某Key

Method Details

AddValue() public static method

public static AddValue ( string key, bool value, bool isCheckExist = false ) : bool
key string
value bool
isCheckExist bool
return bool

AddValue() public static method

添加键值,如果存在键则更新值
public static AddValue ( string key, string value, bool isCheckExist = false ) : bool
key string
value string
isCheckExist bool
return bool

CleanUpAll() public static method

public static CleanUpAll ( ) : void
return void

DeleteValue() public static method

删除键值
public static DeleteValue ( string key ) : void
key string
return void

GetValue() public static method

获取某键的值
public static GetValue ( string key ) : string
key string
return string

HasValue() public static method

检查是否有某Key
public static HasValue ( string key ) : bool
key string
return bool