CodeMethodInvokeExpression Constructor (CodeMethodReferenceExpression, CodeExpression[])

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the CodeMethodInvokeExpression class using the specified method and parameters.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeMethodInvokeExpression(
	CodeMethodReferenceExpression method,
	params CodeExpression[] parameters
)

Parameters

method
Type: System.CodeDom.CodeMethodReferenceExpression

A CodeMethodReferenceExpression that indicates the method to invoke.

parameters
Type: System.CodeDom.CodeExpression[]

An array of CodeExpression objects that indicate the parameters with which to invoke the method.

.NET Framework
Available since 1.1
Return to top
Show: