__VSOSEFLAGS Enumeration

 

Determines the best standard editor to open and whether to use a dialog box in the process.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[FlagsAttribute]
public enum __VSOSEFLAGS

Member nameDescription
OSE_ChooseBestStdEditor

The environment scans the Editors/{guidEditorType}/Extensions sub-key in the Registry to determine which editor can open the file and has the highest priority for doing so.

OSE_OpenAsNewFile

Open as a new file.

OSE_RDTFLAGS_MASK

Mask that runs the document tables flags.

OSE_UseOpenWithDialog

Use a dialog box to determine which editor to use.

From vsshell.idl:

enum __VSOSEFLAGS
{
    OSE_RDTFLAGS_MASK            =  0x000FFFFF,
    OSE_UseOpenWithDialog        =  0x10000000,
    OSE_ChooseBestStdEditor  =  0x20000000,
    OSE_OpenAsNewFile            =  0x40000000,
};
typedef DWORD VSOSEFLAGS;
Return to top
Show: