Partager via


__VSOSPEFLAGS Enumeration

Specifies actions to take when opening a specific editor.

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

'Declaration
<FlagsAttribute> _
Public Enumeration __VSOSPEFLAGS
[FlagsAttribute]
public enum __VSOSPEFLAGS
[FlagsAttribute]
public enum class __VSOSPEFLAGS
[<FlagsAttribute>]
type __VSOSPEFLAGS
public enum __VSOSPEFLAGS

Members

Member name Description
OSPE_CDWFLAGS_MASK Masks Create Document Window flags. See __VSCREATEDOCWIN enumeration for these values.
OSPE_OpenAsNewFile Set to true to open a document as a new file.
OSPE_RDTFLAGS_MASK Masks Running Document Table flags. See _VSRDTFLAGS enumeration for these values.

Remarks

COM Signature

From vsshell.idl:

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace