共用方式為


IVsDataViewDocumentProvider.GetPriority 方法

當由類別實作時,取得指定之檔案的優先權層級資料內檢視階層架構。

命名空間:  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
    類型:Int32

    節點的數值識別項在資料檢視。

傳回值

類型:VSDOCUMENTPRIORITY
從指定的文件的優先權層級資料中的 VSDOCUMENTPRIORITY 列舉型別的值以檢視階層架構。

.NET Framework 安全性

請參閱

參考

IVsDataViewDocumentProvider 介面

Microsoft.VisualStudio.Data.Services.SupportEntities 命名空間