Expand Minimize

__VSOSEFLAGS Enumeration

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

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

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

[FlagsAttribute]
public enum __VSOSEFLAGS

Member nameDescription
OSE_RDTFLAGS_MASKMask that runs the document tables flags.
OSE_UseOpenWithDialogUse a dialog box to determine which editor to use.
OSE_ChooseBestStdEditorThe 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_OpenAsNewFileOpen as a new file.

COM Signature

From vsshell.idl:

enum __VSOSEFLAGS
{
    OSE_RDTFLAGS_MASK            =  0x000FFFFF,
    OSE_UseOpenWithDialog        =  0x10000000,
    OSE_ChooseBestStdEditor  =  0x20000000,
    OSE_OpenAsNewFile            =  0x40000000,
};
typedef DWORD VSOSEFLAGS;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft