Share via


DataSourceElementCollection.Item Property (Int32)

Gets or sets a DataSourceElement at the specified index location.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public Default Property Item ( _
    index As Integer _
) As DataSourceElement
public DataSourceElement this[
    int index
] { get; set; }
public:
property DataSourceElement^ default[int index] {
    DataSourceElement^ get (int index);
    void set (int index, DataSourceElement^ value);
}
member Item : DataSourceElement with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElement
A DataSourceElement object.

.NET Framework Security

See Also

Reference

DataSourceElementCollection Class

Item Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

DataSourceElement