共用方式為


SourceLocationProvider.GetSymbols 方法

定義

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

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

參數

rootActivity
Activity

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

sourceLocations
Dictionary<Object,SourceLocation>

包含來源位置的物件。

傳回

包含工作流程符號的 ICollection<T> 物件。

適用於