Share via


SfcCollatedDictionaryCollection<T, K, ParentT>.Remove Method

Removes the specified object from the collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Parameters

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

Return Value

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.

Implements

ICollection<T>.Remove(T)

See Also

Reference

SfcCollatedDictionaryCollection<T, K, ParentT> Class

Microsoft.SqlServer.Management.Sdk.Sfc Namespace