共用方式為


__VSOSPEFLAGS Enum

Definition

Specifies actions to take when opening a specific editor.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
OSPE_RDTFLAGS_MASK 1048575

Masks Running Document Table flags. See _VSRDTFLAGS enumeration for these values.

OSPE_CDWFLAGS_MASK 16777215

Masks Create Document Window flags. See __VSCREATEDOCWIN enumeration for these values.

OSPE_OpenAsNewFile 268435456

Set to true to open a document as a new file.

Remarks

COM Signature

From vsshell.idl:

enum __VSOSPEFLAGS  
{  
    OSPE_RDTFLAGS_MASK       =  0x000FFFFF,  
    OSPE_CDWFLAGS_MASK       =  0x00FFFFFF,  
    OSPE_OpenAsNewFile       =  0x10000000,  
};  
typedef DWORD VSOSPEFLAGS;  

Applies to