VCCodeDelegate.RemoveParameter Method
Removes a parameter from the argument list.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
Sub RemoveParameter ( _
Element As Object _
)
用法
Dim instance As VCCodeDelegate
Dim Element As Object
instance.RemoveParameter(Element)
void RemoveParameter(
Object Element
)
void RemoveParameter(
Object^ Element
)
function RemoveParameter(
Element : Object
)
Parameters
Element
Type: System.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.
Permissions
- 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
Concepts
How to: Compile and Run the Automation Object Model Code Examples