SfcReferenceCollection<K, T, S>.ContainsKey 方法
Determines whether SfcReferenceCollection<K, T, S> contains an element with the specified key.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Function ContainsKey ( _
key As K _
) As Boolean
用法
Dim instance As SfcReferenceCollection
Dim key As K
Dim returnValue As Boolean
returnValue = instance.ContainsKey(key)
public bool ContainsKey(
K key
)
public:
virtual bool ContainsKey(
K key
) sealed
abstract ContainsKey :
key:'K -> bool
override ContainsKey :
key:'K -> bool
public final function ContainsKey(
key : K
) : boolean
参数
- key
类型:K
The key to locate in the SfcReferenceCollection<K, T, S>.
返回值
类型:System.Boolean
true if the SfcReferenceCollection<K, T, S> contains an element with the specified key; otherwise, false.
实现
IReadOnlyDictionary<K, T>.ContainsKey(K)