SharedAccessFilePolicies.TryGetValue(String, SharedAccessFilePolicy) Method

Definition

Gets the SharedAccessFilePolicy item associated with the specified key.

public bool TryGetValue (string key, out Microsoft.Azure.Storage.File.SharedAccessFilePolicy value);
abstract member TryGetValue : string * SharedAccessFilePolicy -> bool
override this.TryGetValue : string * SharedAccessFilePolicy -> bool
Public Function TryGetValue (key As String, ByRef value As SharedAccessFilePolicy) As Boolean

Parameters

key
String

A string containing the key of the value to get.

Returns

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

Applies to