ICompiledExpressionRoot.CanExecuteExpression 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示是否可以 ICompiledExpressionRoot 执行表达式。
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
参数
- expressionText
- String
使用的表达式文本。
- isReference
- Boolean
true if reference;否则,为 false.
- locations
- IList<LocationReference>
位置的集合。
- expressionId
- Int32
表达式标识符。
返回
true
ICompiledExpressionRoot如果可以执行表达式,则为 ;否则为 false。