SharedAccessQueuePolicies.Remove Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Azure SDK for .NET