Remove 方法 (T)
Removes the first occurrence of a specific object from the collection.
命名空间: Microsoft.SqlServer.Management.SqlParser.Metadata
程序集: Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)
语法
声明
Function Remove ( _
item As T _
) As Boolean
用法
Dim instance As IMutableMetadataCollection
Dim item As T
Dim returnValue As Boolean
returnValue = instance.Remove(item)
bool Remove(
T item
)
bool Remove(
T item
)
abstract Remove :
item:'T -> bool
function Remove(
item : T
) : boolean
参数
- item
类型:T
The object to remove. This value cannot be nullNothingnullptrunitnull 引用(在 Visual Basic 中为 Nothing).
返回值
类型:System. . :: . .Boolean
true if the object is successfully removed; false if the object was not found or if it was not successfully removed from the collection.