Sdílet prostřednictvím


Preferences.Remove Metoda

Definice

Přetížení

Remove(String, String)

Odebere klíč a jeho přidruženou hodnotu, pokud existuje.

Remove(String)

Odebere klíč a jeho přidruženou hodnotu, pokud existuje.

Remove(String, String)

Zdroj:
Preferences.shared.cs
Zdroj:
Preferences.shared.cs

Odebere klíč a jeho přidruženou hodnotu, pokud existuje.

public:
 static void Remove(System::String ^ key, System::String ^ sharedName);
public static void Remove (string key, string? sharedName);
static member Remove : string * string -> unit
Public Shared Sub Remove (key As String, sharedName As String)

Parametry

key
String

Klíč předvoleb.

sharedName
String

Název sdíleného kontejneru

Platí pro

Remove(String)

Zdroj:
Preferences.shared.cs
Zdroj:
Preferences.shared.cs

Odebere klíč a jeho přidruženou hodnotu, pokud existuje.

public:
 static void Remove(System::String ^ key);
public static void Remove (string key);
static member Remove : string -> unit
Public Shared Sub Remove (key As String)

Parametry

key
String

Klíč, který chcete odebrat.

Platí pro