次の方法で共有


__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)

Syntax

'宣言
<FlagsAttribute> _
Public Enumeration __VSOSEFLAGS
'使用
Dim instance As __VSOSEFLAGS
[FlagsAttribute]
public enum __VSOSEFLAGS
[FlagsAttribute]
public enum class __VSOSEFLAGS
public enum __VSOSEFLAGS

Members

Member name Description
OSE_RDTFLAGS_MASK Mask that runs the document tables flags.
OSE_UseOpenWithDialog Use a dialog box to determine which editor to use.
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.

Remarks

COM Signature

From vsshell.idl:

enum __VSOSEFLAGS
{
    OSE_RDTFLAGS_MASK            =  0x000FFFFF,
    OSE_UseOpenWithDialog        =  0x10000000,
    OSE_ChooseBestStdEditor  =  0x20000000,
    OSE_OpenAsNewFile            =  0x40000000,
};
typedef DWORD VSOSEFLAGS;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace