Partager via


IVsRunningDocumentTable4.GetDocumentProjectGuid Method

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: UInt32

    The document cookie.

Return Value

Type: Guid
The GUID.

.NET Framework Security

See Also

Reference

IVsRunningDocumentTable4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace