Freigeben über


DataSourceElement.Name-Eigenschaft

Ruft das Element für die Datenquellennamen-Einstellung in der Datei app.config ab oder legt es fest.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("name", IsKey := True, IsRequired := True)> _
Public Property Name As String
[ConfigurationPropertyAttribute("name", IsKey = true, IsRequired = true)]
public string Name { get; set; }
[ConfigurationPropertyAttribute(L"name", IsKey = true, IsRequired = true)]
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<ConfigurationPropertyAttribute("name", IsKey = true, IsRequired = true)>]
member Name : string with get, set
function get Name () : String 
function set Name (value : String)

Eigenschaftswert

Typ: String
Ein Datenquellenname.

.NET Framework-Sicherheit

Siehe auch

Referenz

DataSourceElement Klasse

Microsoft.VisualStudio.TestTools.UnitTesting-Namespace