Sdílet prostřednictvím


SharedAccessQueuePolicies.TryGetValue(String, SharedAccessQueuePolicy) Method

Definition

Gets the SharedAccessQueuePolicy item associated with the specified key.

public bool TryGetValue (string key, out Microsoft.Azure.Storage.Queue.SharedAccessQueuePolicy value);
abstract member TryGetValue : string * SharedAccessQueuePolicy -> bool
override this.TryGetValue : string * SharedAccessQueuePolicy -> bool
Public Function TryGetValue (key As String, ByRef value As SharedAccessQueuePolicy) As Boolean

Parameters

key
String

A string containing the key of the value to get.

Returns

The SharedAccessQueuePolicy item associated with the specified key, if the key is found; otherwise, the default value for the SharedAccessQueuePolicy type.

Applies to