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