C#
C++
F#
VB
SharedAccessBlobPolicies.::..TryGetValue Method (String, SharedAccessBlobPolicy)(String^, SharedAccessBlobPolicy^%)(String, SharedAccessBlobPolicy)(String, SharedAccessBlobPolicy)
Gets the SharedAccessBlobPolicy item associated with the specified key.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
C++
public: virtual bool TryGetValue( String^ key, [OutAttribute] SharedAccessBlobPolicy^% value ) sealed
abstract TryGetValue : key:string * value:SharedAccessBlobPolicy byref -> bool override TryGetValue : key:string * value:SharedAccessBlobPolicy byref -> bool
Public Function TryGetValue ( key As String, <OutAttribute> ByRef value As SharedAccessBlobPolicy ) 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 SharedAccessBlobPolicy item associated with the specified key, if the key is found; otherwise, the default value for the SharedAccessBlobPolicy type.