Share via


ServiceSettingsDictionary.Item Property (String)

 

Gets or sets the value associated with the specified key.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Syntax

public string this[
    string key
] { get; set; }
public:
property String^ default[
    String^ key
] {
    String^ get(String^ key);
    void set(String^ key, String^ value);
}
member Item : 
        key:string -> string with get, set
Public Property Item (
    key As String
) As String

Property Value

Type: System.String

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.

See Also

ServiceSettingsDictionary Class
Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top