WinList.CheckedItems 属性
获取或设置选中列表项的数组。
命名空间: Microsoft.VisualStudio.TestTools.UITesting.WinControls
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public Overridable Property CheckedItems As String()
Get
Set
public virtual string[] CheckedItems { get; set; }
public:
virtual property array<String^>^ CheckedItems {
array<String^>^ get ();
void set (array<String^>^ value);
}
abstract CheckedItems : string[] with get, set
override CheckedItems : string[] with get, set
function get CheckedItems () : String[]
function set CheckedItems (value : String[])
属性值
类型:array<System.String[]
选中列表项的数组。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。