Contains 方法 (K)
Determines whether the collection contains the specified key. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Overrides Function Contains ( _
key As K _
) As Boolean
用法
Dim instance As SfcCollatedDictionaryCollection
Dim key As K
Dim returnValue As Boolean
returnValue = instance.Contains(key)
public override bool Contains(
K key
)
public:
virtual bool Contains(
K key
) override
abstract Contains :
key:'K -> bool
override Contains :
key:'K -> bool
public override function Contains(
key : K
) : boolean
参数
- key
类型:K
The key to find in the collection.
返回值
类型:System. . :: . .Boolean
true if the collection contains the key; otherwise, false.