IVsRunningDocumentTable4.GetDocumentFlags Method

Visual Studio 2013

This is functionally identical to calling GetDocumentInfo 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.

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)

uint GetDocumentFlags(
	uint cookie


Type: System.UInt32

The cookie.

Return Value

Type: System.UInt32
The flags.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft