Partilhar via


Método Remove (T)

Removes the first occurrence of a specific object from the collection.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxe

'Declaração
Function Remove ( _
    item As T _
) As Boolean
'Uso
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

Parâmetros

  • item
    Tipo: T
    The object to remove. This value cannot be nullNothingnullptrunituma referência nula (Nothing no Visual Basic).

Valor de retorno

Tipo: 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.