GraphSetterCollection.Remove 方法

從 System.Collections.Generic.ICollection 中移除第一個出現的指定物件。

命名空間:  Microsoft.VisualStudio.GraphModel.Styles
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
Public Function Remove ( _
    item As GraphSetter _
) As Boolean
public bool Remove(
    GraphSetter item
)
public:
virtual bool Remove(
    GraphSetter^ item
) sealed
abstract Remove : 
        item:GraphSetter -> bool  
override Remove : 
        item:GraphSetter -> bool
public final function Remove(
    item : GraphSetter
) : boolean

參數

傳回值

類型:Boolean
如果從 System.Collections.Generic.ICollection 成功移除項目則為 true,否則為 false。如果在原始的 System.Collections.Generic.ICollection 中找不到該項目,這個方法也會傳回 false。

實作

ICollection.Remove(UTP)

.NET Framework 安全性

請參閱

參考

GraphSetterCollection 類別

Microsoft.VisualStudio.GraphModel.Styles 命名空間