C#
C++
F#
VB
SharedAccessBlobPolicies.::..Contains Method (KeyValuePair<String, SharedAccessBlobPolicy>)(KeyValuePair<String^, SharedAccessBlobPolicy^>)(KeyValuePair<String, SharedAccessBlobPolicy>)(KeyValuePair(Of String, SharedAccessBlobPolicy))
Determines whether the collection of shared access policies contains the key and SharedAccessBlobPolicy value in the specified KeyValuePair<TKey, TValue><TKey, TValue><'TKey, 'TValue>(Of TKey, TValue) object.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
C++
public: virtual bool Contains( KeyValuePair<String^, SharedAccessBlobPolicy^> item ) sealed
abstract Contains : item:KeyValuePair<string, SharedAccessBlobPolicy> -> bool override Contains : item:KeyValuePair<string, SharedAccessBlobPolicy> -> bool
Public Function Contains ( item As KeyValuePair(Of String, SharedAccessBlobPolicy) ) As Boolean
Parameters
- item
-
Type:
System.Collections.Generic.KeyValuePair<String, SharedAccessBlobPolicy>System.Collections.Generic::KeyValuePair<String^, SharedAccessBlobPolicy^>System.Collections.Generic.KeyValuePair<String, SharedAccessBlobPolicy>System.Collections.Generic.KeyValuePair(Of String, SharedAccessBlobPolicy)
A KeyValuePair<TKey, TValue><TKey, TValue><'TKey, 'TValue>(Of TKey, TValue) object containing the key and SharedAccessBlobPolicy value to search for.
Return Value
Type: System.BooleanSystem::BooleanSystem.BooleanSystem.Booleantrue if the shared access policies collection contains the specified key/value; otherwise, false.