VersionControlLabelDocumentItem 類別
表示 VersionControlLabelDocument 的項目。
繼承階層架構
System.Object
Microsoft.VisualStudio.TeamFoundation.VersionControl.VersionControlLabelDocumentItem
命名空間: Microsoft.VisualStudio.TeamFoundation.VersionControl
組件: Microsoft.VisualStudio.TeamFoundation.VersionControl (在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)
語法
'宣告
Public NotInheritable Class VersionControlLabelDocumentItem
public sealed class VersionControlLabelDocumentItem
VersionControlLabelDocumentItem 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
CheckinDate | 如果存在為 true 時,這個屬性不是 null。 DateTime,當版本已經過認可傳送至伺服器。 | |
Committed | 如果為 false,則這個項目尚未儲存到伺服器,且為「暫止變更」對這個標籤。 | |
Exists | 為檔案永遠為 true。對於資料夾,這是錯誤的,如果項目在標籤,不會發生,但發生在我們的樹狀檢視對於標籤以做為父代對於實際上是在標籤的子系。在 UI 這些節點在樹狀檢視中,會示範如何顯示灰色和某些屬性「不在標籤」 | |
Item | 如果存在為 true 時,這個屬性不是 null。 這個項目位於標籤。 | |
ItemType | 這個項目 ItemType (檔案或資料夾) | |
ServerPath | 這個項目的伺服器路徑。 | |
Version | 如果存在為 true 時,這個屬性不是 null。 項目的變更集編號,它在標籤中。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
Equals | 判斷指定的物件是否等於目前物件。 (繼承自 Object)。 | |
GetHashCode | 做為預設雜湊函式。 (繼承自 Object)。 | |
GetType | 取得目前執行個體的 Type。 (繼承自 Object)。 | |
ToString | 傳回表示目前物件的字串。 (繼承自 Object)。 |
回頁首
執行緒安全
這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。