CodeMethodInvokeExpression Constructor (CodeExpression^, String^, array<CodeExpression^>^)
.NET Framework (current version)
Initializes a new instance of the CodeMethodInvokeExpression class using the specified target object, method name, and parameters.
Assembly: System (in System.dll)
public: CodeMethodInvokeExpression( CodeExpression^ targetObject, String^ methodName, ... array<CodeExpression^>^ parameters )
Parameters
- targetObject
-
Type:
System.CodeDom::CodeExpression^
A CodeExpression that indicates the target object with the method to invoke.
- methodName
-
Type:
System::String^
The name of the method to invoke.
- parameters
-
Type:
array<System.CodeDom::CodeExpression^>^
An array of CodeExpression objects that indicate the parameters to call the method with.
.NET Framework
Available since 1.1
Available since 1.1
Show: