当实现由选件类,获取优先级别中指定的数据视图层次结构中文档。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Function GetPriority ( _
itemId As Integer _
) As VSDOCUMENTPRIORITY
VSDOCUMENTPRIORITY GetPriority(
int itemId
)
VSDOCUMENTPRIORITY GetPriority(
int itemId
)
abstract GetPriority :
itemId:int -> VSDOCUMENTPRIORITY
function GetPriority(
itemId : int
) : VSDOCUMENTPRIORITY
参数
- itemId
类型:System.Int32
节点的一个数字标识符在数据视图。
返回值
类型:Microsoft.VisualStudio.Shell.Interop.VSDOCUMENTPRIORITY
参数是输入参数。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。