Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides properties to set project-specific editor information in the Open With dialog box.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Enumeration __VSPSEPROPID
public enum __VSPSEPROPID
public enum class __VSPSEPROPID
type __VSPSEPROPID
public enum __VSPSEPROPID
Members
Member name | Description | |
---|---|---|
VSPSEPROPID_NIL | NIL; -1 | |
VSPSEPROPID_LAST | This must be the same as the first property defined. | |
VSPSEPROPID_UseGlobalEditorByDefault | BOOL. Optional. If you set this property, then a <project default editor> entry is added to the OpenWith dialog box. If true, then the global editor is used by default. If false, then a project-specific editor is used by default. The project is expected to persist on a per-user/per-machine/per file-type (file extension) basis whether the global standard editor or the project-specific editor should be used. The project then uses this information to know whether to call OpenStandardEditor or OpenSpecificEditor when a project item is opened. | |
VSPSEPROPID_ProjectDefaultEditorName | BSTR. Optional. The project can return a name for the editor (to be used instead of "Project default editor". | |
VSPSEPROPID_FIRST | Indicates the first __VSPSEPROPID. |
Remarks
COM Signature
From vsshell.idl:
enum __VSPSEPROPID
{
VSPSEPROPID_NIL = -1,
VSPSEPROPID_LAST = -5100,
VSPSEPROPID_UseGlobalEditorByDefault = -5100,
VSPSEPROPID_ProjectDefaultEditorName = -5101,
VSPSEPROPID_FIRST = -5101,
};
typedef LONG VSPSEPROPID;