Compartir a través de


Remove Método (T)

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

Espacio de nombres:  Microsoft.SqlServer.Management.SqlParser.Metadata
Ensamblado:  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxis

'Declaración
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 nullNothingnullptrunites una referencia NULL (Nothing en Visual Basic)..

Valor devuelto

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.