共用方式為


MobileAppSettingsDictionary.Item[String] Property

Definition

Gets or sets the value associated with the specified key.

public string this[string key] { get; set; }
member this.Item(string) : string with get, set
Default Public Property Item(key As String) As String

Parameters

key
String

The key of the value to get or set.

Property Value

The value associated with the specified key. If the specified key is not found, a get operation throws a KeyNotFoundException, and a set operation creates a new element with the specified key.

Applies to