TestElement.Groups 屬性
取得表示這個測試項目屬性所屬之群組的屬性描述元集合,同時還判斷描述元如何在使用者介面的屬性視窗中分組。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
Public ReadOnly Property Groups As PropertyDescriptorCollection
public PropertyDescriptorCollection Groups { get; }
public:
virtual property PropertyDescriptorCollection^ Groups {
PropertyDescriptorCollection^ get () sealed;
}
abstract Groups : PropertyDescriptorCollection with get
override Groups : PropertyDescriptorCollection with get
final function get Groups () : PropertyDescriptorCollection
屬性值
型別:System.ComponentModel.PropertyDescriptorCollection
屬性描述元的集合。
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。