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。
傳回
已載入環境之所有組件的集合。