共用方式為


SourceLocationProvider.CollectMapping 方法

定義

建立將根活動及其子代對應至其相對的來源位置之字典型別集合。

public:
 static void CollectMapping(System::Activities::Activity ^ rootActivity1, System::Activities::Activity ^ rootActivity2, System::Collections::Generic::Dictionary<System::Object ^, System::Activities::Debugger::SourceLocation ^> ^ mapping, System::String ^ path);
public static void CollectMapping (System.Activities.Activity rootActivity1, System.Activities.Activity rootActivity2, System.Collections.Generic.Dictionary<object,System.Activities.Debugger.SourceLocation> mapping, string path);
static member CollectMapping : System.Activities.Activity * System.Activities.Activity * System.Collections.Generic.Dictionary<obj, System.Activities.Debugger.SourceLocation> * string -> unit
Public Shared Sub CollectMapping (rootActivity1 As Activity, rootActivity2 As Activity, mapping As Dictionary(Of Object, SourceLocation), path As String)

參數

rootActivity1
Activity

表示未對應至來源位置之活動的工作流程項目。

rootActivity2
Activity

工作流程項目,會遮蔽 rootActivity1,但又具備可供其成員進行對應的特定來源位置。

mapping
Dictionary<Object,SourceLocation>

字典物件包含根活動及其子代,每個都會對應至一個來源位置。

path
String

要使用的來源檔案路徑。

適用於