IVsSolution5.GetGuidOfProjectFile Method
Retrieves the GUID of the project specified by the given project file.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function GetGuidOfProjectFile ( _
pszProjectFile As String _
) As Guid
Guid GetGuidOfProjectFile(
string pszProjectFile
)
Guid GetGuidOfProjectFile(
[InAttribute] String^ pszProjectFile
)
abstract GetGuidOfProjectFile :
pszProjectFile:string -> Guid
function GetGuidOfProjectFile(
pszProjectFile : String
) : Guid
Parameters
pszProjectFile
Type: String[in] The project file from which to retrieve the GUID.
Return Value
Type: Guid
The GUID of the project.
.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.