Share via


SharedAccessBlobPolicies.Remove Method

Definition

Overloads

Remove(KeyValuePair<String,SharedAccessBlobPolicy>)

Removes the SharedAccessBlobPolicy value, specified in the KeyValuePair<TKey,TValue> object, from the shared access policies collection.

Remove(String)

Removes the value with the specified key from the shared access policies collection.

Remove(KeyValuePair<String,SharedAccessBlobPolicy>)

Removes the SharedAccessBlobPolicy value, specified in the KeyValuePair<TKey,TValue> object, from the shared access policies collection.

public bool Remove (System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy> -> bool
Public Function Remove (item As KeyValuePair(Of String, SharedAccessBlobPolicy)) As Boolean

Parameters

item
KeyValuePair<String,SharedAccessBlobPolicy>

The KeyValuePair<TKey,TValue> object, containing a key and SharedAccessBlobPolicy value, to remove from the shared access policies collection.

Returns

true if the item was successfully removed; otherwise, false.

Implements

Applies to

Remove(String)

Removes the value with the specified key from the shared access policies collection.

public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parameters

key
String

A string containing the key of the SharedAccessBlobPolicy item to remove.

Returns

true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found.

Implements

Applies to