System.CodeDom.CodeMethodInvokeExpression Class

Represents an expression that invokes a method.

See Also: CodeMethodInvokeExpression Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeMethodInvokeExpression : CodeExpression

Remarks

System.CodeDom.CodeMethodInvokeExpression can be used to represent an expression that invokes a method.

The CodeMethodInvokeExpression.Method property specifies the method to invoke. The CodeMethodInvokeExpression.Parameters property indicates the parameters to pass to the method. Use a System.CodeDom.CodeDirectionExpression to specify the field direction of a parameter.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0