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.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.
Implements
IVsDataViewDocumentProvider.GetPriority(Int32)
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
DataViewDocumentProvider Class
DataViewDocumentProvider Members