ICompiledExpressionRoot.CanExecuteExpression Метод

Определение

Показывает, может ли 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, если ссылка; в противном случае — значение false.

locations
IList<LocationReference>

Коллекция расположений.

expressionId
Int32

Идентификатор выражения.

Возвращаемое значение

Значение true, если объект ICompiledExpressionRoot может выполнить выражение; в противном случае — значение false.

Применяется к