SharedAccessTablePolicies.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,SharedAccessTablePolicy>) |
Removes the SharedAccessTablePolicy 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,SharedAccessTablePolicy>)
Removes the SharedAccessTablePolicy value, specified in the KeyValuePair<TKey,TValue> object, from the shared access policies collection.
public bool Remove (System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy> -> bool
Public Function Remove (item As KeyValuePair(Of String, SharedAccessTablePolicy)) As Boolean
Parameters
The KeyValuePair<TKey,TValue> object, containing a key and SharedAccessTablePolicy 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
The key of the SharedAccessTablePolicy 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.