共用方式為


VsShellUtilities.GetMiscellaneousProject Method (IServiceProvider)

Gets the miscellaneous project from the current solution.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  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
)
static member GetMiscellaneousProject : 
        provider:IServiceProvider -> IVsProject3 
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.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

VsShellUtilities Members

GetMiscellaneousProject Overload

Microsoft.VisualStudio.Shell Namespace