AssemblyContextControlItem.GetEnvironmentAssemblies 方法

定义

返回环境中已加载的所有程序集的集合。

public:
 System::Collections::Generic::IEnumerable<System::Reflection::Assembly ^> ^ GetEnvironmentAssemblies(System::Activities::Presentation::Hosting::IMultiTargetingSupportService ^ multiTargetingService);
public System.Collections.Generic.IEnumerable<System.Reflection.Assembly> GetEnvironmentAssemblies (System.Activities.Presentation.Hosting.IMultiTargetingSupportService multiTargetingService);
member this.GetEnvironmentAssemblies : System.Activities.Presentation.Hosting.IMultiTargetingSupportService -> seq<System.Reflection.Assembly>
Public Function GetEnvironmentAssemblies (multiTargetingService As IMultiTargetingSupportService) As IEnumerable(Of Assembly)

参数

multiTargetingService
IMultiTargetingSupportService

多目标服务,用于获取与当前项目的目标程序集.NET Framework程序集的正确版本。

返回

IEnumerable<Assembly>

环境中已加载的所有程序集的集合。

适用于