共用方式為


Preferences.Remove 方法

定義

多載

Remove(String)

如果索引鍵存在,則會移除索引鍵及其相關聯的值。

Remove(String, String)

如果索引鍵存在,則會移除索引鍵及其相關聯的值。

Remove(String)

如果索引鍵存在,則會移除索引鍵及其相關聯的值。

public static void Remove (string key);

參數

key
System.String

喜好設定機碼。

適用於

Remove(String, String)

如果索引鍵存在,則會移除索引鍵及其相關聯的值。

public static void Remove (string key, string sharedName);

參數

key
System.String

喜好設定機碼。

sharedName
System.String

共用容器名稱。

適用於