Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.