共用方式為


SharedAccessTablePolicies.Contains Method

Definition

Determines whether the collection of shared access policies contains the key and SharedAccessTablePolicy value in the specified KeyValuePair<TKey,TValue> object.

public bool Contains (System.Collections.Generic.KeyValuePair<string,Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, Microsoft.Azure.Cosmos.Table.SharedAccessTablePolicy> -> bool
Public Function Contains (item As KeyValuePair(Of String, SharedAccessTablePolicy)) As Boolean

Parameters

item
KeyValuePair<String,SharedAccessTablePolicy>

A KeyValuePair<TKey,TValue> object containing the key and SharedAccessTablePolicy value to search for.

Returns

true if the shared access policies collection contains the specified key/value; otherwise, false.

Implements

Applies to