共用方式為


_VSRDTFLAGS2 Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class _VSRDTFLAGS2
public enum class _VSRDTFLAGS2
enum _VSRDTFLAGS2
[System.Flags]
public enum _VSRDTFLAGS2
[<System.Flags>]
type _VSRDTFLAGS2 = 
Public Enum _VSRDTFLAGS2
Inheritance
_VSRDTFLAGS2
Attributes

Fields

Name Value Description
RDT_Lock_WeakEditLock 2048

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

RDT_LOCKUNLOCKMASK 3840

Mask of the RDT_Unlock_NoSave, RDT_Unlock_SaveIfDirty, RDT_Unlock_PromptSave, and RDT_Lock_WeakEditLock flags.

Applies to