Remove 方法 (String)

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

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
Function Remove ( _
    name As String _
) As Boolean
用法
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

参数

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

返回值

类型: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.