ExternalProjectsProvider.SetExternalProjectsProvider Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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