VsShellUtilities.GetMiscellaneousProject Method (IServiceProvider)

Gets the miscellaneous project from the current solution.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public Shared Function GetMiscellaneousProject ( _
    provider As IServiceProvider _
) As IVsProject3
'使用
Dim provider As IServiceProvider
Dim returnValue As IVsProject3

returnValue = VsShellUtilities.GetMiscellaneousProject(provider)
public static IVsProject3 GetMiscellaneousProject(
    IServiceProvider provider
)
public:
static IVsProject3^ GetMiscellaneousProject(
    IServiceProvider^ provider
)
public static function GetMiscellaneousProject(
    provider : IServiceProvider
) : IVsProject3

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsProject3

The IVsProject3 interface of the miscellaneous project.

Remarks

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

Permissions

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

GetMiscellaneousProject Overload

Microsoft.VisualStudio.Shell Namespace