Condividi tramite


Proprietà DataSourceElement.Name

Ottiene o imposta l'elemento dell'impostazione di nome origine dati in app.config file.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Sintassi

'Dichiarazione
<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)

Valore proprietà

Tipo: System.String
un nome origine dati.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataSourceElement Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting