Επεξεργασία

Κοινή χρήση μέσω


VisualBasicDesignerHelper.RecompileVisualBasicReference Method

Definition

Recompiles a previously compiled VisualBasicReference<TResult> expression.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Activities::Activity ^ RecompileVisualBasicReference(System::Activities::ActivityWithResult ^ visualBasicReference, [Runtime::InteropServices::Out] Type ^ % returnType, [Runtime::InteropServices::Out] System::Activities::ExpressionParser::SourceExpressionException ^ % compileError, [Runtime::InteropServices::Out] Microsoft::VisualBasic::Activities::VisualBasicSettings ^ % vbSettings);
public static System.Activities.Activity RecompileVisualBasicReference (System.Activities.ActivityWithResult visualBasicReference, out Type returnType, out System.Activities.ExpressionParser.SourceExpressionException compileError, out Microsoft.VisualBasic.Activities.VisualBasicSettings vbSettings);
static member RecompileVisualBasicReference : System.Activities.ActivityWithResult * Type * SourceExpressionException * VisualBasicSettings -> System.Activities.Activity
Public Shared Function RecompileVisualBasicReference (visualBasicReference As ActivityWithResult, ByRef returnType As Type, ByRef compileError As SourceExpressionException, ByRef vbSettings As VisualBasicSettings) As Activity

Parameters

visualBasicReference
ActivityWithResult

The expression to recompile.

returnType
Type

When this method returns, contains the result type of the expression. This parameter is passed uninitialized.

compileError
SourceExpressionException

When this method returns, contains any compilation errors that occurred, or null if compilation was successful. This parameter is passed uninitialized.

vbSettings
VisualBasicSettings

When this method returns, contains the settings required to compile the expression. This parameter is passed uninitialized.

Returns

The recompiled VisualBasicReference<TResult> expression.

Applies to