VsShellUtilities.GetMiscellaneousProject Method (IServiceProvider, Boolean)
Returns the miscellaneous project in a solution.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Function GetMiscellaneousProject ( _
provider As IServiceProvider, _
create As Boolean _
) As IVsProject3
public static IVsProject3 GetMiscellaneousProject(
IServiceProvider provider,
bool create
)
Parameters
- provider
Type: System.IServiceProvider
IServiceProvider object used to retrieve the IVsSolution object.
- create
Type: System.Boolean
true if the project should be created; otherwise, false.
Return Value
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject3
The IVsProject3 interface of the miscellaneous project.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.