Preferences.Set Method

Definition

Overloads

Set(String, Int64, String)

Sets a value for a given key.

Set(String, Int32, String)

Sets a value for a given key.

Set(String, Double, String)

Sets a value for a given key.

Set(String, DateTime, String)

Sets a value for a given key.

Set(String, Boolean, String)

Sets a value for a given key.

Set(String, String)

Sets a value for a given key.

Set(String, Double)

Sets a value for a given key.

Set(String, Int64)

Sets a value for a given key.

Set(String, Int32)

Sets a value for a given key.

Set(String, DateTime)

Sets a value for a given key.

Set(String, Boolean)

Sets a value for a given key.

Set(String, Single, String)

Sets a value for a given key.

Set(String, Single)

Sets a value for a given key.

Set(String, String, String)

Sets a value for a given key.

Set(String, Int64, String)

Sets a value for a given key.

public static void Set (string key, long value, string sharedName);

Parameters

key
String

Preference key.

value
Int64

Preference value.

sharedName
String

Shared container name.

Set(String, Int32, String)

Sets a value for a given key.

public static void Set (string key, int value, string sharedName);

Parameters

key
String

Preference key.

value
Int32

Preference value.

sharedName
String

Shared container name.

Set(String, Double, String)

Sets a value for a given key.

public static void Set (string key, double value, string sharedName);

Parameters

key
String

Preference key.

value
Double

Preference value.

sharedName
String

Shared container name.

Set(String, DateTime, String)

Sets a value for a given key.

public static void Set (string key, DateTime value, string sharedName);

Parameters

key
String

Preference key.

value
DateTime

Preference value.

sharedName
String

Shared container name.

Set(String, Boolean, String)

Sets a value for a given key.

public static void Set (string key, bool value, string sharedName);

Parameters

key
String

Preference key.

value
Boolean

Preference value.

sharedName
String

Shared container name.

Set(String, String)

Sets a value for a given key.

public static void Set (string key, string value);

Parameters

key
String

Preference key.

value
String

Preference value.

Remarks

Set(String, Double)

Sets a value for a given key.

public static void Set (string key, double value);

Parameters

key
String

Preference key.

value
Double

Preference value.

Remarks

Set(String, Int64)

Sets a value for a given key.

public static void Set (string key, long value);

Parameters

key
String

Preference key.

value
Int64

Preference value.

Remarks

Set(String, Int32)

Sets a value for a given key.

public static void Set (string key, int value);

Parameters

key
String

Preference key.

value
Int32

Preference value.

Remarks

Set(String, DateTime)

Sets a value for a given key.

public static void Set (string key, DateTime value);

Parameters

key
String

Preference key.

value
DateTime

Preference value.

Remarks

Set(String, Boolean)

Sets a value for a given key.

public static void Set (string key, bool value);

Parameters

key
String

Preference key.

value
Boolean

Preference value.

Remarks

Set(String, Single, String)

Sets a value for a given key.

public static void Set (string key, float value, string sharedName);

Parameters

key
String

Preference key.

value
Single

Preference value.

sharedName
String

Shared container name.

Set(String, Single)

Sets a value for a given key.

public static void Set (string key, float value);

Parameters

key
String

Preference key.

value
Single

Preference value.

Remarks

Set(String, String, String)

Sets a value for a given key.

public static void Set (string key, string value, string sharedName);

Parameters

key
String

Preference key.

value
String

Preference value.

sharedName
String

Shared container name.

Applies to