Propriedade DataSourceElement.Name

Obtém ou define o elemento de configuração de nome de fonte de dados a app.config arquivo.

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

Sintaxe

'Declaração
<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)

Valor de propriedade

Tipo: System.String
Um nome de fonte de dados.

Segurança do .NET Framework

Consulte também

Referência

DataSourceElement Classe

Namespace Microsoft.VisualStudio.TestTools.UnitTesting