Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the GUID for the project owning the document
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Function GetDocumentProjectGuid ( _
cookie As UInteger _
) As Guid
Guid GetDocumentProjectGuid(
uint cookie
)
Guid GetDocumentProjectGuid(
[InAttribute] unsigned int cookie
)
abstract GetDocumentProjectGuid :
cookie:uint32 -> Guid
function GetDocumentProjectGuid(
cookie : uint
) : Guid
Parameters
cookie
Type: UInt32The document cookie.
Return Value
Type: Guid
The GUID.
.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.