SourceLocationProvider.GetSourceLocations(Activity, WorkflowSymbol) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定的根活動和工作流程符號的來源位置。
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> 物件,包含來源位置。