DeploymentItemCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
DeploymentItem 物件的集合。
public ref class DeploymentItemCollection : Microsoft::VisualStudio::TestTools::Common::EqtBaseCollection<Microsoft::VisualStudio::TestTools::Common::DeploymentItem ^>
[System.Serializable]
public class DeploymentItemCollection : Microsoft.VisualStudio.TestTools.Common.EqtBaseCollection<Microsoft.VisualStudio.TestTools.Common.DeploymentItem>
[<System.Serializable>]
type DeploymentItemCollection = class
inherit EqtBaseCollection<DeploymentItem>
Public Class DeploymentItemCollection
Inherits EqtBaseCollection(Of DeploymentItem)
- 繼承
- 屬性
建構函式
| DeploymentItemCollection() |
初始化 DeploymentItemCollection 類別的執行個體。 |
| DeploymentItemCollection(DeploymentItemCollection) |
藉由複製提供的 DeploymentItemCollection 物件,初始化 類別的DeploymentItemCollection實例。 |
欄位
| m_container |
傳回包含集合的哈希表。 (繼承來源 EqtBaseCollection<T>) |
屬性
| Count |
取得集合中的項目數目。 (繼承來源 EqtBaseCollection<T>) |
| IsReadOnly |
取得值,這個值表示集合是否為唯讀。 (繼承來源 EqtBaseCollection<T>) |
方法
| Add(T) |
將項目新增至集合。 (繼承來源 EqtBaseCollection<T>) |
| Clear() |
清除集合中的所有項目。 (繼承來源 EqtBaseCollection<T>) |
| Clone() |
建立集合的複本。 (繼承來源 EqtBaseCollection<T>) |
| Contains(T) |
傳回值,這個值表示所提供的專案是否已經在集合中。 (繼承來源 EqtBaseCollection<T>) |
| CopyTo(T[], Int32) |
從提供的索引開始,將集合中的所有專案複製到提供的陣列。 (繼承來源 EqtBaseCollection<T>) |
| GetEnumerator() |
傳回物件,以逐一 IEnumerator 查看集合。 (繼承來源 EqtBaseCollection<T>) |
| Load(XmlElement, XmlTestStoreParameters) |
使用提供的參數,從提供的 XML 專案載入目前的物件。 (繼承來源 EqtBaseCollection<T>) |
| Remove(T) |
如果專案存在,則會從集合中移除提供的專案。 (繼承來源 EqtBaseCollection<T>) |
| Save(XmlElement, XmlTestStoreParameters) |
使用提供的參數,將目前物件儲存至提供的 XML 專案。 (繼承來源 EqtBaseCollection<T>) |
明確介面實作
| IEnumerable<T>.GetEnumerator() |
傳回具型別的 IEnumerator。 (繼承來源 EqtBaseCollection<T>) |
擴充方法
| EmptyIfNull<T>(IEnumerable<T>) |
如果不是 Null,則傳回這個列舉。 如果是 null,則傳回空列舉。 |