編集

次の方法で共有


SourceLocationProvider.CollectMapping Method

Definition

Creates to a dictionary type collection of mappings of the root activity and its descendants to their corresponding source locations.

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)

Parameters

rootActivity1
Activity

A workflow element that represents an activity that is not mapped to a source location.

rootActivity2
Activity

A workflow element that shadows rootActivity1 but has specific source locations to which its members are mapped.

mapping
Dictionary<Object,SourceLocation>

A dictionary object that contains a root activity and its descendants, each mapped to a source location.

path
String

The path of the source file to use.

Applies to