Modifier

Partager via


NSUserDefaults.SetString(String, String) Method

Definition

Sets a string value at the specified key.

public void SetString (string value, string defaultName);
member this.SetString : string * string -> unit

Parameters

value
String

String value to store.

defaultName
String

The key name used to store the value.

Remarks

Applies to