DataViewDocumentProvider.GetPriority Method

Gets the priority level of the specified document within the data view hierarchy.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

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

returnValue = instance.GetPriority(itemId)
public virtual VSDOCUMENTPRIORITY GetPriority(
    int itemId
)
public:
virtual VSDOCUMENTPRIORITY GetPriority(
    int itemId
)
public 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.

Implements

IVsDataViewDocumentProvider.GetPriority(Int32)

Permissions

See Also

Reference

DataViewDocumentProvider Class

DataViewDocumentProvider Members

Microsoft.VisualStudio.Data.Framework Namespace

VSDOCUMENTPRIORITY