SharedAccessFilePolicies.Remove Method

Definition

Overloads

Remove(KeyValuePair<String,SharedAccessFilePolicy>)

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

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

Parameters

item
KeyValuePair<String,SharedAccessFilePolicy>

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