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