VsShellUtilities.GetMiscellaneousProject Method

Definition

Overloads

GetMiscellaneousProject(IServiceProvider)

Gets the miscellaneous project from the current solution.

GetMiscellaneousProject(IServiceProvider, Boolean)

Returns the miscellaneous project in a solution.

GetMiscellaneousProject(IServiceProvider)

Gets the miscellaneous project from the current solution.

public:
 static Microsoft::VisualStudio::Shell::Interop::IVsProject3 ^ GetMiscellaneousProject(IServiceProvider ^ provider);
public static Microsoft.VisualStudio.Shell.Interop.IVsProject3 GetMiscellaneousProject (IServiceProvider provider);
static member GetMiscellaneousProject : IServiceProvider -> Microsoft.VisualStudio.Shell.Interop.IVsProject3
Public Shared Function GetMiscellaneousProject (provider As IServiceProvider) As IVsProject3
Public Function GetMiscellaneousProject (provider As IServiceProvider) As IVsProject3

Parameters

provider
IServiceProvider

The service provider

Returns

A refernce to the IVsProject3 interface for the misceleneous project.

Remarks

If there is no miscellaneous project in the current solution, it will be created.

Applies to

GetMiscellaneousProject(IServiceProvider, Boolean)

Returns the miscellaneous project in a solution.

public:
 static Microsoft::VisualStudio::Shell::Interop::IVsProject3 ^ GetMiscellaneousProject(IServiceProvider ^ provider, bool create);
public static Microsoft.VisualStudio.Shell.Interop.IVsProject3 GetMiscellaneousProject (IServiceProvider provider, bool create);
static member GetMiscellaneousProject : IServiceProvider * bool -> Microsoft.VisualStudio.Shell.Interop.IVsProject3
Public Shared Function GetMiscellaneousProject (provider As IServiceProvider, create As Boolean) As IVsProject3
Public Function GetMiscellaneousProject (provider As IServiceProvider, create As Boolean) As IVsProject3

Parameters

provider
IServiceProvider

The service provider

create
Boolean

If false, does not force creation of the misc project

Returns

A refernce to the IVsProject3 interface for the misceleneous project.

Applies to