C# Class JP.Utils.Data.LocalSettingHelper

Afficher le fichier Open project: JuniperPhoton/JP.Utils.UWP

Méthodes publiques

Méthode 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 méthode

public static AddValue ( string key, bool value, bool isCheckExist = false ) : bool
key string
value bool
isCheckExist bool
Résultat bool

AddValue() public static méthode

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

CleanUpAll() public static méthode

public static CleanUpAll ( ) : void
Résultat void

DeleteValue() public static méthode

删除键值
public static DeleteValue ( string key ) : void
key string
Résultat void

GetValue() public static méthode

获取某键的值
public static GetValue ( string key ) : string
key string
Résultat string

HasValue() public static méthode

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