Freigeben über


Remove-Methode

Removes the specified object from the collection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Overrides Function Remove ( _
    obj As T _
) As Boolean
'Usage
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

Parameter

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

Rückgabewert

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

Implementiert

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