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.
Used to discriminate in more detail between the priorities of items in a project. It is used by OpenDocumentViaProject to determine the best project to open a file.
If you want your projects to express this detailed priority value, you should implement IsDocumentInProject2 in addition to implementing IsDocumentInProject.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime (in Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime.dll)
Syntax
'Declaration
Public Enumeration __VSDOCUMENTPRIORITY2
public enum __VSDOCUMENTPRIORITY2
public enum class __VSDOCUMENTPRIORITY2
type __VSDOCUMENTPRIORITY2
public enum __VSDOCUMENTPRIORITY2
Members
Member name | Description | |
---|---|---|
DP2_CanAddAsExternal | The document can be added as external. | |
DP2_CanAddAsNonMember | The document can be added as a non-member. | |
DP2_External | The document is external. | |
DP2_IndirectMember | The document is an indirect member (an item being imported from another project file). | |
DP2_Intrinsic | The document is intrinsic. | |
DP2_NonMember | The document is a non-member. | |
DP2_Standard | The document is standard. | |
DP2_Unsupported | The document is unsupported. |
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.