Dela via


SharedAccessBlobPolicies.Add Method

Definition

Overloads

Add(KeyValuePair<String,SharedAccessBlobPolicy>)

Adds the specified key/SharedAccessBlobPolicy value, stored in a KeyValuePair<TKey,TValue>, to the collection of shared access policies.

Add(String, SharedAccessBlobPolicy)

Adds the specified key and SharedAccessBlobPolicy value to the collection of shared access policies.

Add(KeyValuePair<String,SharedAccessBlobPolicy>)

Adds the specified key/SharedAccessBlobPolicy value, stored in a KeyValuePair<TKey,TValue>, to the collection of shared access policies.

public void Add (System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy> item);
abstract member Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy> -> unit
override this.Add : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy> -> unit
Public Sub Add (item As KeyValuePair(Of String, SharedAccessBlobPolicy))

Parameters

item
KeyValuePair<String,SharedAccessBlobPolicy>

The KeyValuePair<TKey,TValue> object, containing a key/SharedAccessBlobPolicy value pair, to add to the shared access policies collection.

Implements

Applies to

Add(String, SharedAccessBlobPolicy)

Adds the specified key and SharedAccessBlobPolicy value to the collection of shared access policies.

public void Add (string key, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy value);
abstract member Add : string * Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy -> unit
override this.Add : string * Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy -> unit
Public Sub Add (key As String, value As SharedAccessBlobPolicy)

Parameters

key
String

The key of the SharedAccessBlobPolicy value to add.

value
SharedAccessBlobPolicy

The SharedAccessBlobPolicy value to add the collection of shared access policies.

Implements

Applies to