Lire en anglais

Partager via


IVsSolution.GetProjectTypeGuid Method

Returns the project type, given a GUID.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

int GetProjectTypeGuid(
    uint dwReserved,
    string pszMkProject,
    out Guid pguidProjectType
)

Parameters

  • 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.Int32
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
);

.NET Framework Security

See Also

Reference

IVsSolution Interface

IVsSolution Members

Microsoft.VisualStudio.Shell.Interop Namespace