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.