Share via


PartDiscovery.Combine(PartDiscovery[]) Method

Definition

Creates an aggregate PartDiscovery instance that delegates to a series of other part discovery extensions.

public static Microsoft.VisualStudio.Composition.PartDiscovery Combine (params Microsoft.VisualStudio.Composition.PartDiscovery[] discoveryMechanisms);
static member Combine : Microsoft.VisualStudio.Composition.PartDiscovery[] -> Microsoft.VisualStudio.Composition.PartDiscovery
Public Shared Function Combine (ParamArray discoveryMechanisms As PartDiscovery()) As PartDiscovery

Parameters

discoveryMechanisms
PartDiscovery[]

The discovery extensions to use. In some cases, extensions defined earlier in the list are preferred.

Returns

The aggregate PartDiscovery instance.

Applies to