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.