Contains 方法 (T)
Determines whether the collection contains the specified object.
命名空间: Microsoft.SqlServer.Management.SqlParser.Metadata
程序集: Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)
语法
声明
Function Contains ( _
item As T _
) As Boolean
用法
Dim instance As IMetadataCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Contains(item)
bool Contains(
T item
)
bool Contains(
T item
)
abstract Contains :
item:'T -> bool
function Contains(
item : T
) : boolean
参数
- item
类型:T
The object to locate in the collection.
返回值
类型:System. . :: . .Boolean
true if the collection contains the element; otherwise, false.