SharedAccessTablePolicies.TryGetValue(String, SharedAccessTablePolicy) 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 SharedAccessTablePolicy item associated with the specified key.
public bool TryGetValue (string key, out Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy value);
abstract member TryGetValue : string * SharedAccessTablePolicy -> bool
override this.TryGetValue : string * SharedAccessTablePolicy -> bool
Public Function TryGetValue (key As String, ByRef value As SharedAccessTablePolicy) As Boolean
Parameters
- key
- String
The key of the value to get.
- value
- SharedAccessTablePolicy
The SharedAccessTablePolicy item to get.
Returns
The SharedAccessTablePolicy item associated with the specified key, if the key is found; otherwise, the default value for the SharedAccessTablePolicy type.