共用方式為


SharedAccessTablePolicies.TryGetValue(String, SharedAccessTablePolicy) Method

Definition

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.

Returns

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

Applies to