Share via


SharedAccessQueuePolicies.Remove Method

Definition

Overloads

Remove(KeyValuePair<String,SharedAccessQueuePolicy>)

Removes the SharedAccessQueuePolicy 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,SharedAccessQueuePolicy>)

Removes the SharedAccessQueuePolicy 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.Queue.SharedAccessQueuePolicy> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.Queue.SharedAccessQueuePolicy> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Storage.Queue.SharedAccessQueuePolicy> -> bool
Public Function Remove (item As KeyValuePair(Of String, SharedAccessQueuePolicy)) As Boolean

Parameters

item
KeyValuePair<String,SharedAccessQueuePolicy>

The KeyValuePair<TKey,TValue> object, containing a key and SharedAccessQueuePolicy 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 SharedAccessQueuePolicy 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