Udostępnij za pośrednictwem


SharedAccessQueuePolicies.Contains Method

Definition

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

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

Parameters

item
KeyValuePair<String,SharedAccessQueuePolicy>

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

Returns

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

Implements

Applies to