SharedAccessQueuePolicies.Item Property

Windows Runtime Azure Storage Client Library

Gets or sets the SharedAccessQueuePolicy item associated with the specified key.

Namespace: Microsoft.WindowsAzure.Storage.Queue
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As SharedAccessQueuePolicies
Dim key As String
Dim value As SharedAccessQueuePolicy

value = instance(key)

instance(key) = value

Syntax

Visual Basic
Public Default Property Item ( _
	key As String _
) As SharedAccessQueuePolicy
C#
public SharedAccessQueuePolicy this [
	string key
] { get; set; }
C++
public:
virtual property SharedAccessQueuePolicy^ default [String^] {
	SharedAccessQueuePolicy^ get (String^ key) sealed;
	void set (String^ key, SharedAccessQueuePolicy^ value) sealed;
}
J#
/** @property */
public final SharedAccessQueuePolicy get_Item (String key)

/** @property */
public final void set_Item (String key, SharedAccessQueuePolicy value)
JScript

Property Value

The SharedAccessQueuePolicy item associated with the specified key, or null if key is not in the shared access policies collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also