ICompiledExpressionRoot.CanExecuteExpression Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Určuje, zda ICompiledExpressionRoot může provést výraz.
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
Použitý text výrazu
- isReference
- Boolean
truev případě odkazu; v opačném případě . false
- locations
- IList<LocationReference>
Kolekce umístění.
- expressionId
- Int32
Identifikátor výrazu.
Návraty
true if the ICompiledExpressionRoot can execute expression; otherwise, false.