PropertyCollection 類別
表示 Web 效能測試規則屬性的強型別容器。
繼承階層架構
System.Object
System.Collections.ObjectModel.Collection<PluginOrRuleProperty>
Microsoft.VisualStudio.TestTools.WebTesting.WebTestBaseCollection<PluginOrRuleProperty>
Microsoft.VisualStudio.TestTools.WebTesting.PropertyCollection
命名空間: Microsoft.VisualStudio.TestTools.WebTesting
組件: Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class PropertyCollection _
Inherits WebTestBaseCollection(Of PluginOrRuleProperty)
[SerializableAttribute]
public class PropertyCollection : WebTestBaseCollection<PluginOrRuleProperty>
[SerializableAttribute]
public ref class PropertyCollection : public WebTestBaseCollection<PluginOrRuleProperty^>
[<SerializableAttribute>]
type PropertyCollection =
class
inherit WebTestBaseCollection<PluginOrRuleProperty>
end
public class PropertyCollection extends WebTestBaseCollection<PluginOrRuleProperty>
PropertyCollection 型別會公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
PropertyCollection | 初始化 PropertyCollection 類別的新執行個體。 |
回頁首
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Count | 取得 Collection<T> 中實際包含的項目數目。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() |
Item[Int32] | 取得或設定指定之索引處的項目。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() |
Item[String] | 取得或設定隨指定之屬性名稱一起儲存的第一個屬性值。 |
![]() |
Items | 取得 Collection<T> 周圍的 IList<T> 包裝函式。 (繼承自 Collection<PluginOrRuleProperty>)。 |
回頁首
方法
回頁首
明確介面實作
名稱 | 說明 | |
---|---|---|
![]() ![]() |
IList.Add | 將項目加入至 IList 中。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.Contains | 判斷 IList 是否包含特定值。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
ICollection.CopyTo | 從特定的 Array 索引開始,複製 ICollection 項目至 Array。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IEnumerable.GetEnumerator | 傳回會逐一查看集合的列舉程式。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.IndexOf | 判斷 IList 中特定項目的索引。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.Insert | 將項目插入 IList 中指定的索引處。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.IsFixedSize | 取得值,指出 IList 是否有固定的大小。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
ICollection<T>.IsReadOnly | 取得值,這個值表示 ICollection<T> 是否為唯讀。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.IsReadOnly | 取得值,指出 IList 是否為唯讀。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
ICollection.IsSynchronized | 取得值,這個值會指出對 ICollection 的存取是否已同步處理 (執行緒安全)。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.Item | 取得或設定指定之索引處的項目。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
IList.Remove | 從 IList 移除特定物件之第一個符合的元素。 (繼承自 Collection<PluginOrRuleProperty>)。 |
![]() ![]() |
ICollection.SyncRoot | 取得可用來對 ICollection 進行同步存取的物件。 (繼承自 Collection<PluginOrRuleProperty>)。 |
回頁首
執行緒安全
這個型別的任何 Public static (在 Visual Basic 中為 Shared) 成員都具備執行緒安全。並非所有的執行個體成員都是安全執行緒。