Dela via


SharedAccessBlobPolicies.TryGetValue(String, SharedAccessBlobPolicy) Method

Definition

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.

Returns

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

Applies to