共用方式為


IVsRunningDocumentTable4.GetDocumentProjectGuid(UInt32) Method

Definition

Returns the GUID for the project owning the document

public:
 Guid GetDocumentProjectGuid(System::UInt32 cookie);
public Guid GetDocumentProjectGuid (uint cookie);
abstract member GetDocumentProjectGuid : uint32 -> Guid
Public Function GetDocumentProjectGuid (cookie As UInteger) As Guid

Parameters

cookie
UInt32

The document cookie.

Returns

The GUID.

Remarks

This method must be accessed on the main thread.

Applies to