Storage Client Library for Windows Runtime (Version 7.0)

Microsoft.WindowsAzure.Storage.Queue

Determines whether the collection of shared access policies contains the specified key.

Namespace:   Microsoft.WindowsAzure.Storage.Queue
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
public bool ContainsKey(
	string key
)
 
public:
virtual bool ContainsKey(
	String^ key
) sealed
 
abstract ContainsKey : 
        key:string -> bool
override ContainsKey : 
        key:string -> bool
 
Public Function ContainsKey (
	key As String
) As Boolean

Parameters

key
Type: System.StringSystem::String^System.StringSystem.String

A string containing the key to locate in the collection of shared access policies.

Return Value

Type: System.BooleanSystem::BooleanSystem.BooleanSystem.Boolean

true if the collection of shared access policies contains an element with the specified key; otherwise, false.

Return to top