SourceLocationProvider.GetSourceLocations(Activity, WorkflowSymbol) 方法

定義

取得指定的根活動和工作流程符號的來源位置。

public:
 static System::Collections::Generic::Dictionary<System::Object ^, System::Activities::Debugger::SourceLocation ^> ^ GetSourceLocations(System::Activities::Activity ^ rootActivity, System::Activities::Debugger::Symbol::WorkflowSymbol ^ symbol);
public static System.Collections.Generic.Dictionary<object,System.Activities.Debugger.SourceLocation> GetSourceLocations (System.Activities.Activity rootActivity, System.Activities.Debugger.Symbol.WorkflowSymbol symbol);
static member GetSourceLocations : System.Activities.Activity * System.Activities.Debugger.Symbol.WorkflowSymbol -> System.Collections.Generic.Dictionary<obj, System.Activities.Debugger.SourceLocation>
Public Shared Function GetSourceLocations (rootActivity As Activity, symbol As WorkflowSymbol) As Dictionary(Of Object, SourceLocation)

參數

rootActivity
Activity

表示要從中取得來源位置之根活動的工作流程項目。

symbol
WorkflowSymbol

包含工作流程符號的物件。

傳回

Dictionary<TKey,TValue> 物件,包含來源位置。

適用於