IVsDataViewDocumentProvider.GetPriority Method

When implemented by a class, gets the priority level of the specified document within the data view hierarchy.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Function GetPriority ( _
    itemId As Integer _
) As VSDOCUMENTPRIORITY
'使用
Dim instance As IVsDataViewDocumentProvider
Dim itemId As Integer
Dim returnValue As VSDOCUMENTPRIORITY

returnValue = instance.GetPriority(itemId)
VSDOCUMENTPRIORITY GetPriority(
    int itemId
)
VSDOCUMENTPRIORITY GetPriority(
    int itemId
)
function GetPriority(
    itemId : int
) : VSDOCUMENTPRIORITY

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier for the node in the data view.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.VSDOCUMENTPRIORITY

A value from the VSDOCUMENTPRIORITY enumeration specifying the priority level of the specified document within the data view hierarchy.

Permissions

See Also

Reference

IVsDataViewDocumentProvider Interface

IVsDataViewDocumentProvider Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace