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> 对象。

适用于