VCCodeFunction.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: ObjectRequired. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VCCodeModel Namespace
Other Resources
How to: Compile and Run the Automation Object Model Code Examples