Partager via


Méthode Remove (T)

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

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Function Remove ( _
    item As T _
) As Boolean
'Utilisation
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

Paramètres

  • item
    Type : T
    The object to remove. This value cannot be nullNothingnullptrunitune référence Null (Nothing dans Visual Basic).

Valeur de retour

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