Επεξεργασία

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


ICompiledExpressionRoot.CanExecuteExpression Method

Definition

Indicates whether the ICompiledExpressionRoot can execute expression.

public:
 bool CanExecuteExpression(System::String ^ expressionText, bool isReference, System::Collections::Generic::IList<System::Activities::LocationReference ^> ^ locations, [Runtime::InteropServices::Out] int % expressionId);
public bool CanExecuteExpression (string expressionText, bool isReference, System.Collections.Generic.IList<System.Activities.LocationReference> locations, out int expressionId);
abstract member CanExecuteExpression : string * bool * System.Collections.Generic.IList<System.Activities.LocationReference> * int -> bool
Public Function CanExecuteExpression (expressionText As String, isReference As Boolean, locations As IList(Of LocationReference), ByRef expressionId As Integer) As Boolean

Parameters

expressionText
String

The expression text used.

isReference
Boolean

true if reference; otherwise, false.

locations
IList<LocationReference>

The collection of locations.

expressionId
Int32

The expression identifier.

Returns

true if the ICompiledExpressionRoot can execute expression; otherwise, false.

Applies to