編輯

共用方式為


AssemblyContextControlItem.GetEnvironmentAssemblies Method

Definition

Returns a collection of all the assemblies that have been loaded in the environment.

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)

Parameters

multiTargetingService
IMultiTargetingSupportService

The multi-targeting service used to get the proper versions of the loaded assemblies that correspond to the target .NET Framework of the current project.

Returns

A collection of all the assemblies that have been loaded in the environment.

Applies to