Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the project type, given a GUID.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function GetProjectTypeGuid ( _
dwReserved As UInteger, _
pszMkProject As String, _
<OutAttribute> ByRef pguidProjectType As Guid _
) As Integer
'Usage
Dim instance As IVsSolution2
Dim dwReserved As UInteger
Dim pszMkProject As String
Dim pguidProjectType As Guid
Dim returnValue As Integer
returnValue = instance.GetProjectTypeGuid(dwReserved, _
pszMkProject, pguidProjectType)
int GetProjectTypeGuid(
uint dwReserved,
string pszMkProject,
out Guid pguidProjectType
)
int GetProjectTypeGuid(
[InAttribute] unsigned int dwReserved,
[InAttribute] String^ pszMkProject,
[OutAttribute] Guid% pguidProjectType
)
abstract GetProjectTypeGuid :
dwReserved:uint32 *
pszMkProject:string *
pguidProjectType:Guid byref -> int
function GetProjectTypeGuid(
dwReserved : uint,
pszMkProject : String,
pguidProjectType : Guid
) : int
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.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolution.GetProjectTypeGuid(UInt32, String, Guid%)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolution2::GetProjectTypeGuid(
[in] DWORD dwReserved,
[in] LPCOLESTR pszMkProject,
[out, retval] GUID *pguidProjectType
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.