Remove 方法

Removes the specified object from the collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

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

语法

声明
Public MustOverride Function Remove ( _
    obj As T _
) As Boolean
用法
Dim instance As SfcCollection
Dim obj As T
Dim returnValue As Boolean

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

参数

  • obj
    类型:T
    The object to remove.

返回值

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

实现

ICollection< (Of < ( <'T> ) > ) >. . :: . .Remove(T)