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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET