Expand Minimize
This topic has not yet been rated - Rate this topic

__VSPSEPROPID Enumeration

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)
public enum __VSPSEPROPID
Member nameDescription
VSPSEPROPID_FIRSTIndicates the first __VSPSEPROPID.
VSPSEPROPID_LASTThis must be the same as the first property defined.
VSPSEPROPID_NILNIL; -1
VSPSEPROPID_ProjectDefaultEditorNameBSTR. Optional. The project can return a name for the editor (to be used instead of "Project default editor".
VSPSEPROPID_UseGlobalEditorByDefaultBOOL. 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.

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;
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.