Udostępnij za pośrednictwem


ICompiledExpressionRoot.CanExecuteExpression Metoda

Definicja

Wskazuje, czy ICompiledExpressionRoot wyrażenie może zostać wykonane.

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

Parametry

expressionText
String

Użyty tekst wyrażenia.

isReference
Boolean

true jeśli odwołanie; w przeciwnym razie , false.

locations
IList<LocationReference>

Kolekcja lokalizacji.

expressionId
Int32

Identyfikator wyrażenia.

Zwraca

true jeśli wyrażenie ICompiledExpressionRoot może zostać wykonane; w przeciwnym razie false.

Dotyczy