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
- name
Type: System.String
The name of the DataSourceElement to return.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataSourceElementCollection Class