SharedAccessFilePolicies.TryGetValue(String, SharedAccessFilePolicy) 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 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.
- value
- SharedAccessFilePolicy
The SharedAccessFilePolicy item to get.
Returns
The SharedAccessFilePolicy item associated with the specified key, if the key is found; otherwise, the default value for the SharedAccessFilePolicy type.