IVsSolution2::GetVirtualProjectFlags Method (IVsHierarchy^, UInt32)
Visual Studio 2015
Determines how the virtual project was added to the Solution Explorer.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetVirtualProjectFlags( IVsHierarchy^ pHierarchy, [OutAttribute] unsigned int% pgrfAddVPFlags )
Parameters
- pHierarchy
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsHierarchy^
[in] IVsHierarchy interface for the specified virtual project.
- pgrfAddVPFlags
-
Type:
System::UInt32
[out] Pointer to options for how virtual project was added to the Solution Explorer. For a list of grfAddVPFlags, see __VSADDVPFLAGS.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsSolution2::GetVirtualProjectFlags( [in] IVsHierarchy *pHierarchy, [out] VSADDVPFLAGS *pgrfAddVPFlags );
Show: