VsRdtFlags VsRdtFlags VsRdtFlags VsRdtFlags VsRdtFlags VsRdtFlags Enum

Definition

Specifies options for a document in the running document table (RDT).

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum class VsRdtFlags
public enum class VsRdtFlags
enum VsRdtFlags
[System.Flags]
public enum VsRdtFlags
type VsRdtFlags = 
Public Enum VsRdtFlags
Inheritance
VsRdtFlagsVsRdtFlagsVsRdtFlagsVsRdtFlagsVsRdtFlagsVsRdtFlags
Attributes

Fields

CanBuildFromMemory CanBuildFromMemory CanBuildFromMemory CanBuildFromMemory CanBuildFromMemory CanBuildFromMemory 32768

Indicates that a save of the document is not forced on a build.

CantSave CantSave CantSave CantSave CantSave CantSave 40

Combination of RDT_DontSave and RDT_DontSaveAs flags.

CaseSensitive CaseSensitive CaseSensitive CaseSensitive CaseSensitive CaseSensitive 128

When comparing MkDocument strings, perform a case-sensitive comparison of the strings.

DOCMASK DOCMASK DOCMASK DOCMASK DOCMASK DOCMASK -3848

Mask of the flags from DontSaveAs through DontAddToMRU. Allow __VSCREATEDOCWIN flags in document mask.

DontAddToMRU DontAddToMRU DontAddToMRU DontAddToMRU DontAddToMRU DontAddToMRU 65536

Do not add to the list of most recently used files.

DontAutoOpen DontAutoOpen DontAutoOpen DontAutoOpen DontAutoOpen DontAutoOpen 64

Indicates that the document is not persisted in the list of documents that can be opened when the solution is re-opened. Such a document would not be opened using an editor factory, but might be opened using a wizard or special programmatic code.

DontPollForState DontPollForState DontPollForState DontPollForState DontPollForState DontPollForState 131072

Do not poll for changes to the document's dirty or read-only state. The document owner must take responsibility for explicitly updating the state using UpdateDirtyState(UInt32) or UpdateReadOnlyState(UInt32).

DontSave DontSave DontSave DontSave DontSave DontSave 32

Any document marked with this value is not included in the list of documents shown in the SaveChanges dialog box. The Save Changes dialog box is displayed when the user selects Exit from the File menu.

DontSaveAs DontSaveAs DontSaveAs DontSaveAs DontSaveAs DontSaveAs 8

Indicates that the SaveAs command should not be made available for this document.

EditLock EditLock EditLock EditLock EditLock EditLock 2

Places an edit lock on the document.

Lock_WeakEditLock Lock_WeakEditLock Lock_WeakEditLock Lock_WeakEditLock Lock_WeakEditLock Lock_WeakEditLock 2048

Places a weak edit lock on the document. This flag must be ORed with EditLock when registering a weak edit lock. This flag is used in this combination when using RegisterDocumentLockHolder(UInt32, UInt32, IVsDocumentLockHolder, UInt32).

NoLock NoLock NoLock NoLock NoLock NoLock 0

Indicates that no lock is placed on the document.

NonCreatable NonCreatable NonCreatable NonCreatable NonCreatable NonCreatable 16

Indicates that the document is created through some special programmatic means. For example, using a wizard. If you specify the NonCreatable flag, then the DontAutoOpen flag automatically applies to your document.

PlaceHolderDoc PlaceHolderDoc PlaceHolderDoc PlaceHolderDoc PlaceHolderDoc PlaceHolderDoc 16384

Used in the implementation of miscellaneous files. Prevents the Miscellaneous Files project from calling the CreateDocumentWindow method on the document added to the project.

ProjSlnDocument ProjSlnDocument ProjSlnDocument ProjSlnDocument ProjSlnDocument ProjSlnDocument 8192

Set automatically by the environment when a solution or project is opened. Used to flag solution and project files in the running document table. Clients are required to set this flag in the case of nested projects.

ReadLock ReadLock ReadLock ReadLock ReadLock ReadLock 1

Places a read lock on the document.

RequestUnlock RequestUnlock RequestUnlock RequestUnlock RequestUnlock RequestUnlock 4

Requests an unlock of the document.

SAVEMASK SAVEMASK SAVEMASK SAVEMASK SAVEMASK SAVEMASK 3840

Mask of the Unlock_ Unlock_NoSave, Unlock_SaveIfDirty, and Unlock_PromptSave flags.

Unlock_NoSave Unlock_NoSave Unlock_NoSave Unlock_NoSave Unlock_NoSave Unlock_NoSave 256

Used by UnlockDocument(UInt32, UInt32). Release the edit lock and do not save.

Unlock_PromptSave Unlock_PromptSave Unlock_PromptSave Unlock_PromptSave Unlock_PromptSave Unlock_PromptSave 1024

Used by the UnlockDocument method. Release the edit lock and prompt the user to save the file.

Unlock_SaveIfDirty Unlock_SaveIfDirty Unlock_SaveIfDirty Unlock_SaveIfDirty Unlock_SaveIfDirty Unlock_SaveIfDirty 512

Used by the UnlockDocument method. Release the edit lock and save the file if it is dirty.

VirtualDocument VirtualDocument VirtualDocument VirtualDocument VirtualDocument VirtualDocument 4096

Exclude this document from being considered in the documents collection for the automation model.

Applies to