Condividi tramite


Metodo Remove

Removes the specified object from the collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.

Spazio dei nomi  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintassi

'Dichiarazione
Public MustOverride Function Remove ( _
    obj As T _
) As Boolean
'Utilizzo
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

Parametri

  • obj
    Tipo: T
    The object to remove.

Valore restituito

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

Implementa

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