SharedAccessBlobPolicies.Item Property

Windows Runtime Azure Storage Client Library

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

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

Usage

Visual Basic
Dim instance As SharedAccessBlobPolicies
Dim key As String
Dim value As SharedAccessBlobPolicy

value = instance(key)

instance(key) = value

Syntax

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

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

Property Value

The SharedAccessBlobPolicy 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