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.Int32A 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewDocumentProvider Interface
IVsDataViewDocumentProvider Members
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace