Removes a virtual project from the solution.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
- Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] Pointer to a hierarchy object.
HRESULT IVsSolution::RemoveVirtualProject( [in] IVsHierarchy *pHierarchy, [in] VSREMOVEVPFLAGS grfRemoveVPFlags );
This method will tell the solution to release a virtual project pointer previously added using AddVirtualProjectEx with or without calling a Close method on the project.
- 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.