ICompiledExpressionRoot.CanExecuteExpression Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
true
ICompiledExpressionRoot jika dapat mengeksekusi ekspresi; jika tidak, false
.
Berlaku untuk
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.