다음을 통해 공유


__VSPSEPROPID Enum

Definition

Provides properties to set project-specific editor information in the OpenWith dialog box.

public enum class __VSPSEPROPID
public enum class __VSPSEPROPID
enum __VSPSEPROPID
public enum __VSPSEPROPID
type __VSPSEPROPID = 
Public Enum __VSPSEPROPID
Inheritance
__VSPSEPROPID

Fields

Name Value Description
VSPSEPROPID_FIRST -5101

Indicates the first __VSPSEPROPID.

VSPSEPROPID_ProjectDefaultEditorName -5101

BSTR. Optional. The project can return a name for the editor (to be used instead of "Project default editor".

VSPSEPROPID_LAST -5100

This must be the same as the first property defined.

VSPSEPROPID_UseGlobalEditorByDefault -5100

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(UInt32, String, Guid, String, IVsUIHierarchy, UInt32, IntPtr, IServiceProvider, IVsWindowFrame) or OpenSpecificEditor(UInt32, String, Guid, String, Guid, String, IVsUIHierarchy, UInt32, IntPtr, IServiceProvider, IVsWindowFrame) when a project item is opened.

VSPSEPROPID_NIL -1

NIL; -1

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;  

Applies to