Share via


SharedAccessFilePolicies.Contains Method

Definition

Determines whether the collection of shared access policies contains the key and SharedAccessFilePolicy value in the specified KeyValuePair<TKey,TValue> object.

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

Parameters

item
KeyValuePair<String,SharedAccessFilePolicy>

A KeyValuePair<TKey,TValue> object containing the key and SharedAccessFilePolicy value to search for.

Returns

true if the shared access policies collection contains the specified key/value; otherwise, false.

Implements

Applies to