Share via


DataSourceElementCollection.Item Property (String)

Gets a DataSourceElement identified by name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As DataSourceElement
public DataSourceElement this[
    string name
] { get; }
public:
property DataSourceElement^ default[String^ name] {
    DataSourceElement^ get (String^ name);
}
member Item : DataSourceElement
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.DataSourceElement
A DataSourceElement object, or nulla null reference (Nothing in Visual Basic) if the name key does not exist.

.NET Framework Security

See Also

Reference

DataSourceElementCollection Class

Item Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace

DataSourceElement