SharedAccessBlobPolicies.Contains Method (KeyValuePair(String, SharedAccessBlobPolicy)) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
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.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
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.
Return to top
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.
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.