Adds the specified key and
SharedAccessQueuePolicy value to the collection of shared access policies.
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
instance.Add(key, value) |
Syntax
Visual Basic |
---|
Public Sub Add ( _
key As String, _
value As SharedAccessQueuePolicy _
) |
C# |
---|
public void Add (
string key,
SharedAccessQueuePolicy value
) |
C++ |
---|
public:
virtual void Add (
String^ key,
SharedAccessQueuePolicy^ value
) sealed |
J# |
---|
public final void Add (
String key,
SharedAccessQueuePolicy value
) |
JScript |
---|
public final function Add (
key : String,
value : SharedAccessQueuePolicy
) |
Parameters
- key
A string containing the key of the SharedAccessQueuePolicy value to add.
- value
The SharedAccessQueuePolicy value to add the collection of shared access policies.
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
See Also