IVsSolution2::GetVirtualProjectFlags Method (IVsHierarchy^, UInt32)

 

Determines how the virtual project was added to the Solution Explorer.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If 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
);
Return to top
Show: