Share via


SharedAccessBlobPolicies.Contains Method

Definition

Determines whether the collection of shared access policies contains the key and SharedAccessBlobPolicy value in the specified System.Collections.Generic.KeyValuePair`2 object.

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

Parameters

item
System.Collections.Generic.KeyValuePair<System.String,SharedAccessBlobPolicy>

A System.Collections.Generic.KeyValuePair`2 object containing the key and SharedAccessBlobPolicy value to search for.

Returns

System.Boolean

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

Implements

System.Collections.Generic.ICollection`1.Contains(`0)

Applies to