Partager via


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

'Declaration
Public Overridable Function GetPriority ( _
    itemId As Integer _
) As VSDOCUMENTPRIORITY
public virtual VSDOCUMENTPRIORITY GetPriority(
    int itemId
)
public:
virtual VSDOCUMENTPRIORITY GetPriority(
    int itemId
)
abstract GetPriority : 
        itemId:int -> VSDOCUMENTPRIORITY  
override GetPriority : 
        itemId:int -> VSDOCUMENTPRIORITY
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)

Remarks

Notes to Inheritors

The derived class should override this method.

.NET Framework Security

See Also

Reference

DataViewDocumentProvider Class

Microsoft.VisualStudio.Data.Framework Namespace

VSDOCUMENTPRIORITY