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 MustOverride Function Remove ( _
    obj As T _
) As Boolean
'Utilisation
Dim instance As SfcCollection
Dim obj As T
Dim returnValue As Boolean

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

Paramètres

  • obj
    Type : T
    The object to remove.

Valeur de retour

Type : System. . :: . .Boolean
true if the object is successfully removed; otherwise, false.

Implémente

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