다음을 통해 공유


__VSDOCUMENTPRIORITY2 Enum

Definition

Used to discriminate in more detail between the priorities of items in a project. It is used by OpenDocumentViaProject(String, Guid, IServiceProvider, IVsUIHierarchy, UInt32, IVsWindowFrame) to determine the best project to open a file. If you want your projects to express this detailed priority value, you should implement IsDocumentInProject2(String, Int32, Int32, UInt32) in addition to implementing IsDocumentInProject(String, Int32, VSDOCUMENTPRIORITY[], UInt32).

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

Fields

Name Value Description
DP2_Unsupported 0

The document is unsupported.

DP2_CanAddAsExternal 10

The document can be added as external.

DP2_External 20

The document is external.

DP2_CanAddAsNonMember 30

The document can be added as a non-member.

DP2_NonMember 40

The document is a non-member.

DP2_IndirectMember 46

The document is an indirect member (an item being imported from another project file).

DP2_Standard 50

The document is standard.

DP2_Intrinsic 60

The document is intrinsic.

Remarks

Introduced in Visual Studio 2013 Update 2. To reference the correct assembly version, see Referencing Assemblies Delivered in the Visual Studio 2013 SDK Update 2.

Applies to