SharedAccessBlobPolicies.TryGetValue(String, SharedAccessBlobPolicy) 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 SharedAccessBlobPolicy item associated with the specified key.
public bool TryGetValue (string key, out Microsoft.Azure.Storage.Blob.SharedAccessBlobPolicy value);
abstract member TryGetValue : string * SharedAccessBlobPolicy -> bool
override this.TryGetValue : string * SharedAccessBlobPolicy -> bool
Public Function TryGetValue (key As String, ByRef value As SharedAccessBlobPolicy) As Boolean
Parameters
- key
- String
A string containing the key of the value to get.
- value
- SharedAccessBlobPolicy
The SharedAccessBlobPolicy item to get.
Returns
The SharedAccessBlobPolicy item associated with the specified key, if the key is found; otherwise, the default value for the SharedAccessBlobPolicy 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