VersionControlLabel 類別

表示版本控制標籤。

繼承階層架構

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel

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

語法

'宣告
Public NotInheritable Class VersionControlLabel
public sealed class VersionControlLabel

VersionControlLabel 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 VersionControlLabel 建立將傳送至伺服器的原始檔控制項標籤的表示。

回頁首

屬性

  名稱 描述
公用屬性 ArtifactUri 取得變形此標籤的統一資源識別元 (URI) (URI)。
公用屬性 Comment 取得此標籤的註解。
公用屬性 Items 取得與此標籤相關聯的項目。
公用屬性 LabelId 取得此標籤 ID。
公用屬性 LastModifiedDate 取得此標籤的上次修改的 date+time。
公用屬性 Name 取得此標籤名稱。
公用屬性 OwnerDisplayName 擁有這個標籤使用者的顯示名稱。
公用屬性 OwnerName 取得此標籤的擁有人。
公用屬性 Scope 取得這個型別的標籤。
公用屬性 VersionControlServer 取得包含此標籤的儲存機制。

回頁首

方法

  名稱 描述
公用方法 Equals 判斷指定的物件是否等於目前物件。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
公用方法 ToString 建立描述這 VersionControlLabel 執行個體屬性的使用者可讀取的 (Human-Readable) 字串。 (覆寫 Object.ToString()。)

回頁首

執行緒安全

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

請參閱

參考

Microsoft.TeamFoundation.VersionControl.Client 命名空間