共用方式為


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 Overrides Function Remove ( _
    obj As T _
) As Boolean
'用途
Dim instance As SfcCollatedDictionaryCollection
Dim obj As T
Dim returnValue As Boolean

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

參數

  • obj
    型別:T
    The object to remove from the collection.

傳回值

型別:System. . :: . .Boolean
true if the object was successfully removed; false if the object was not successfully removed or if the object was not found in the collection.

實作

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