共用方式為


VersionControlLabelDocument 類別

繼承階層架構

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocument

命名空間:  Microsoft.VisualStudio.TeamFoundation.VersionControl
組件:  Microsoft.VisualStudio.TeamFoundation.VersionControl (在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)

語法

'宣告
Public NotInheritable Class VersionControlLabelDocument
public sealed class VersionControlLabelDocument

VersionControlLabelDocument 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 ArtifactUri 此標籤的成品 URI
公用屬性 Comment 此標籤的註解。
公用屬性 CurrentFolder 在右窗格中的標籤文件的目前資料夾 (ListView) 在左窗格 (TreeView) 顯示及選取。若要設定這個屬性,請使用 Navigate() 方法。
公用屬性 IsBusy 如果標籤的非同步載入處理序中,則為 true。
公用屬性 IsDirty 此標籤的變更位元。則為 true,則必須將標籤,在關閉之前。
公用屬性 LabelId 此標籤的 LabelId
公用屬性 MetadataAvailable 如果標籤的中繼資料載入已完成,則為 true。這些是 LabelId、名稱、擁有人、範圍、註解和 ArtifactUri 屬性。
公用屬性 Name 這個標籤的名稱。
公用屬性 OwnerName 此標籤的擁有人。
公用屬性 Scope 這個型別標籤
公用屬性 SelectedItems 在標籤文件視窗中選取的項目。 這些項目可能是來源從左邊的 TreeView 或右邊鍵盤焦點的 ListView,根據或之前。
公用屬性 VsWindowFrame 取得這個文件視窗的 IVsWindowFrame。

回頁首

方法

  名稱 描述
公用方法 Close 關閉這個標籤文件視窗。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 Navigate 巡覽標籤設定為特定伺服器路徑。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間