Share via


DictionaryCollectionBase<T, U>.Remove Method (String)

Removes the object with the specified name from the collection.

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

Syntax

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

returnValue = instance.Remove(name)
public bool Remove(
    string name
)
public:
virtual bool Remove(
    String^ name
) sealed
abstract Remove : 
        name:string -> bool  
override Remove : 
        name:string -> bool
public final function Remove(
    name : String
) : boolean

Parameters

  • name
    Type: System.String
    The name of the metadata object to remove.

Return Value

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

Implements

IMutableMetadataCollection<T>.Remove(String)

See Also

Reference

DictionaryCollectionBase<T, U> Class

Remove Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace