Partager via


Méthode Remove

Removes the specified object from the collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Overrides Function Remove ( _
    obj As T _
) As Boolean
'Utilisation
Dim instance As SfcCollatedDictionaryCollection
Dim obj As T
Dim returnValue As Boolean

returnValue = instance.Remove(obj)
public override bool Remove(
    T obj
)
public:
virtual bool Remove(
    T obj
) override
abstract Remove : 
        obj:'T -> bool 
override Remove : 
        obj:'T -> bool 
public override function Remove(
    obj : T
) : boolean

Paramètres

  • obj
    Type : T
    The object to remove from the collection.

Valeur de retour

Type : System. . :: . .Boolean
true if the object was successfully removed; false if the object was not successfully removed or if the object was not found in the collection.

Implémente

ICollection< (Of < ( <'T> ) > ) >. . :: . .Remove(T)