SharedAccessQueuePolicies.TryGetValue(String, SharedAccessQueuePolicy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- value
- SharedAccessQueuePolicy
The SharedAccessQueuePolicy item 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET