Partager via


Méthode Remove (String)

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

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Function Remove ( _
    name As String _
) As Boolean
'Utilisation
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

Paramètres

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

Valeur de retour

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.