共用方式為


VersionControlAnnotate 類別

註釋工具視窗的包裝函式。

繼承階層架構

System.Object
  Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlBaseToolWindowExt
    Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlAnnotate

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

語法

'宣告
Public NotInheritable Class VersionControlAnnotate _
    Inherits VersionControlBaseToolWindowExt
public sealed class VersionControlAnnotate : VersionControlBaseToolWindowExt

VersionControlAnnotate 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 ChangesetId 取得檔案版本的變更集識別項加註。如果變更集是空的 (例如:檔案有區域編輯, 0) 會傳回。
公用屬性 DeletionId 取得這個附註檢視器中顯示檔案的刪除 ID。
公用屬性 IsBusy 附註,則作業尚未完成,則傳回 true。
公用屬性 ItemPath 取得這個附註檢視器會顯示項目的路徑。這是最初標註的項目,可以是本機或伺服器路徑。
公用屬性 LineCount 取得資料列數目會顯示在這個附註檢視器。
公用屬性 Regions 加入這個附註檢視器的附註區域。區域陣列無法擷取附註,直到作業完成為止。
公用屬性 SelectedRegions 加入這個附註檢視器中選取檔案的區域。用於註解作業完成之前,選取區域是唯一的區域使用。
公用屬性 ServerItem 取得這個附註檢視器會顯示項目的伺服器路徑。
公用屬性 VersionSpec 取得這個附註檢視器中顯示檔案的版本。
公用屬性 VsWindowFrame 取得這個工具視窗的 IVsWindowFrame。 (繼承自 VersionControlBaseToolWindowExt)。

回頁首

方法

  名稱 描述
公用方法 Close 關閉這個附註檢視器。
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetRegionForLine 至指定行的註解區域。區域無法擷取附註,直到作業完成為止。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 MoveNextRegion 將焦點遵循所選區域的附註區域。
公用方法 MovePreviousRegion 將焦點選取區域之前的附註區域。
公用方法 Stop 停止目前的附註作業。
公用方法 ToString 傳回表示目前物件的字串。 (繼承自 Object)。

回頁首

執行緒安全

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

請參閱

參考

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間