SharedAccessTablePolicies.Add Method (KeyValuePair)

Windows Runtime Azure Storage Client Library

Adds the specified key/ SharedAccessTablePolicy value, stored in a KeyValuePair, to the collection of shared access policies.

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

Usage

Visual Basic
Dim instance As SharedAccessTablePolicies
Dim item As KeyValuePair(Of String, SharedAccessTablePolicy)

instance.Add(item)

Syntax

Visual Basic
Public Sub Add ( _
	item As KeyValuePair(Of String, SharedAccessTablePolicy) _
)
C#
public void Add (
	KeyValuePair<string,SharedAccessTablePolicy> item
)
C++
public:
virtual void Add (
	KeyValuePair<String^, SharedAccessTablePolicy^> item
) sealed
J#
public final void Add (
	KeyValuePair<String,SharedAccessTablePolicy> item
)
JScript
public final function Add (
	item : KeyValuePair<String,SharedAccessTablePolicy>
)

Parameters

item

The KeyValuePair object, containing a key/ SharedAccessTablePolicy value pair, to add to 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