AssemblyContextControlItem.GetEnvironmentAssemblies 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回环境中已加载的所有程序集的集合。
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程序集的正确版本。
返回
环境中已加载的所有程序集的集合。