Bagikan melalui


ICompiledExpressionRoot.CanExecuteExpression Metode

Definisi

Menunjukkan apakah ICompiledExpressionRoot dapat menjalankan ekspresi.

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

Parameter

expressionText
String

Teks ekspresi yang digunakan.

isReference
Boolean

true jika referensi; jika tidak, false.

locations
IList<LocationReference>

Kumpulan lokasi.

expressionId
Int32

Pengidentifikasi ekspresi.

Mengembalikan

trueICompiledExpressionRoot jika dapat mengeksekusi ekspresi; jika tidak, false.

Berlaku untuk