C#
C++
F#
VB
SharedAccessQueuePolicies.::..TryGetValue Method (String, SharedAccessQueuePolicy)(String^, SharedAccessQueuePolicy^%)(String, SharedAccessQueuePolicy)(String, SharedAccessQueuePolicy)
Gets the SharedAccessQueuePolicy item associated with the specified key.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
C++
public: virtual bool TryGetValue( String^ key, [OutAttribute] SharedAccessQueuePolicy^% value ) sealed
abstract TryGetValue : key:string * value:SharedAccessQueuePolicy byref -> bool override TryGetValue : key:string * value:SharedAccessQueuePolicy byref -> bool
Public Function TryGetValue ( key As String, <OutAttribute> ByRef value As SharedAccessQueuePolicy ) As Boolean
Parameters
- key
-
Type:
System.StringSystem::String^System.StringSystem.String
A string containing the key of the value to get.
Return Value
Type: System.BooleanSystem::BooleanSystem.BooleanSystem.BooleanThe SharedAccessQueuePolicy item associated with the specified key, if the key is found; otherwise, the default value for the SharedAccessQueuePolicy type.