IVsSolution2::GetProjectTypeGuid Method (UInt32, String^, Guid)
Visual Studio 2015
Returns the project type, given a GUID.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetProjectTypeGuid( unsigned int dwReserved, String^ pszMkProject, [OutAttribute] Guid% pguidProjectType )
Parameters
- dwReserved
-
Type:
System::UInt32
[in] Reserved for future use.
- pszMkProject
-
Type:
System::String^
[in] Pointer to the path of the project.
- pguidProjectType
-
Type:
System::Guid
[out, retval] Pointer to the project type.
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::GetProjectTypeGuid( [in] DWORD dwReserved, [in] LPCOLESTR pszMkProject, [out, retval] GUID *pguidProjectType );
Show: