ActivityValidationServices.Resolve(Activity, String) 方法

定义

在指定工作流中检索具有指定 ID 的工作流活动。

public:
 static System::Activities::Activity ^ Resolve(System::Activities::Activity ^ root, System::String ^ id);
public static System.Activities.Activity Resolve (System.Activities.Activity root, string id);
static member Resolve : System.Activities.Activity * string -> System.Activities.Activity
Public Shared Function Resolve (root As Activity, id As String) As Activity

参数

root
Activity

包含要访问的活动元素的根工作流活动。

id
String

与活动关联的标识符。

返回

工作流活动。

适用于