共用方式為


VCCodeAttribute.RemoveParameter 方法

從引數清單中移除參數。

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

語法

'宣告
Sub RemoveParameter ( _
    Element As Object _
)
void RemoveParameter(
    Object Element
)
void RemoveParameter(
    Object^ Element
)
abstract RemoveParameter : 
        Element:Object -> unit
function RemoveParameter(
    Element : Object
)

參數

  • Element
    類型:Object

    必要項。 CodeElement 物件或集合中某個項目的名稱。

備註

Element 可能是集合中的 CodeElement 物件,或是集合內唯一的元素名稱。

個別項目可以存於多個集合中,所以沒有 RemoveParameter 方法。 若要移除特定的項目,您必須呼叫其容器物件的 Remove 方法。

.NET Framework 安全性

請參閱

參考

VCCodeAttribute 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

如何:編譯和執行 Automation 物件模型程式碼範例