Share via


IMutableMetadataCollection<T>.Remove Method (T)

Removes the first occurrence of a specific object from the collection.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function Remove ( _
    item As T _
) As Boolean
'Usage
Dim instance As IMutableMetadataCollection 
Dim item As T
Dim returnValue As Boolean 

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

Parameters

  • item
    Type: T
    The object to remove. This value cannot be nulla null reference (Nothing in Visual Basic).

Return Value

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

See Also

Reference

IMutableMetadataCollection<T> Interface

Remove Overload

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace