Determines whether the collection of shared access policies contains the key and
SharedAccessBlobPolicy value in the specified
KeyValuePair object.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As SharedAccessBlobPolicies
Dim item As KeyValuePair(Of String, SharedAccessBlobPolicy)
Dim returnValue As Boolean
returnValue = instance.Contains(item) |
Syntax
Visual Basic |
---|
Public Function Contains ( _
item As KeyValuePair(Of String, SharedAccessBlobPolicy) _
) As Boolean |
C# |
---|
public bool Contains (
KeyValuePair<string,SharedAccessBlobPolicy> item
) |
C++ |
---|
public:
virtual bool Contains (
KeyValuePair<String^, SharedAccessBlobPolicy^> item
) sealed |
J# |
---|
public final boolean Contains (
KeyValuePair<String,SharedAccessBlobPolicy> item
) |
JScript |
---|
public final function Contains (
item : KeyValuePair<String,SharedAccessBlobPolicy>
) : boolean |
Parameters
- item
A KeyValuePair object containing the key and SharedAccessBlobPolicy value to search for.
Return Value
true
if the shared access policies collection contains the specified key/value; otherwise,
false
.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also