ExternalProjectsProvider.SetExternalProjectsProvider Method

Definition

Attach an external project provider to a msbuild ProjectCollection.

Note at any time there could be only one ExternalProvider attached.

Can be called with link == null, in which case it will "clear" the external provider on the target collection

public:
 static void SetExternalProjectsProvider(Microsoft::Build::Evaluation::ProjectCollection ^ collection, Microsoft::Build::ObjectModelRemoting::ExternalProjectsProvider ^ link);
public static void SetExternalProjectsProvider (Microsoft.Build.Evaluation.ProjectCollection collection, Microsoft.Build.ObjectModelRemoting.ExternalProjectsProvider link);
static member SetExternalProjectsProvider : Microsoft.Build.Evaluation.ProjectCollection * Microsoft.Build.ObjectModelRemoting.ExternalProjectsProvider -> unit
Public Shared Sub SetExternalProjectsProvider (collection As ProjectCollection, link As ExternalProjectsProvider)

Parameters

collection
ProjectCollection

Applies to