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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for