Share via


IMutableMetadataCollection<T>.Remove Method (String)

Removes the first element that has the specified name from the collection.

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

Syntax

'Declaration
Function Remove ( _
    name As String _
) As Boolean
'Usage
Dim instance As IMutableMetadataCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.Remove(name)
bool Remove(
    string name
)
bool Remove(
    String^ name
)
abstract Remove : 
        name:string -> bool
function Remove(
    name : String
) : boolean

Parameters

  • name
    Type: System.String
    The name of the element to remove. This value cannot be a null reference.

Return Value

Type: System.Boolean
true if the element is successfully removed; false if the element 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