共用方式為


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>

已載入環境之所有組件的集合。

適用於