Метод 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 nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic).

Возвращаемое значение

Тип: 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.