Share via


VCCodeDelegate.RemoveParameter Method

Removes a parameter from the argument list.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

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

Parameters

  • Element
    Type: Object

    Required. A CodeElement object or the name of one in the collection.

Remarks

Element can either be a CodeElement object that is in the collection or the name of an element that is unique within the collection.

Individual elements do not have a RemoveParameter method because they can exist in multiple collections. To remove a specific element, you must call the Remove method of its container object.

.NET Framework Security

See Also

Reference

VCCodeDelegate Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples