Freigeben über


IVsSolution.GetProjectTypeGuid(UInt32, String, Guid) Method

Definition

Returns the project type, given a GUID.

public:
 int GetProjectTypeGuid(System::UInt32 dwReserved, System::String ^ pszMkProject, [Runtime::InteropServices::Out] Guid % pguidProjectType);
public int GetProjectTypeGuid (uint dwReserved, string pszMkProject, out Guid pguidProjectType);
abstract member GetProjectTypeGuid : uint32 * string * Guid -> int
Public Function GetProjectTypeGuid (dwReserved As UInteger, pszMkProject As String, ByRef pguidProjectType As Guid) As Integer

Parameters

dwReserved
UInt32

[in] Reserved for future use.

pszMkProject
String

[in] Pointer to the path of the project.

pguidProjectType
Guid

[out, retval] Pointer to the project type.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolution::GetProjectTypeGuid(  
   [in] DWORD dwReserved,  
   [in] LPCOLESTR pszMkProject,  
   [out, retval] GUID *pguidProjectType  
);  

Applies to