Compartilhar via


IVsRunningDocumentTable4.GetDocumentFlags(UInt32) Method

Definition

This is functionally identical to calling GetDocumentInfo(UInt32, UInt32, UInt32, UInt32, String, IVsHierarchy, UInt32, IntPtr) and requesting only the flags, but it is easier to consume from managed code. In managed code it is impossible to request the flags without also requesting all information, and requesting all of the other information can result in the potentially unnecessary initialization of an RDT_PendingInitialization document.

public:
 System::UInt32 GetDocumentFlags(System::UInt32 cookie);
public:
 unsigned int GetDocumentFlags(unsigned int cookie);
unsigned int GetDocumentFlags(unsigned int cookie);
public uint GetDocumentFlags (uint cookie);
abstract member GetDocumentFlags : uint32 -> uint32
Public Function GetDocumentFlags (cookie As UInteger) As UInteger

Parameters

cookie
UInt32

The cookie.

Returns

The flags.

Applies to