DataSourceElement.Name (Propiedad)

Obtiene o establece el elemento de configuración de nombre de origen de datos en el archivo app.config.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.UnitTesting
Ensamblado:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (en Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Sintaxis

'Declaración
<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 propiedad

Tipo: System.String
Un nombre de origen de datos.

Seguridad de .NET Framework

Vea también

Referencia

DataSourceElement Clase

Microsoft.VisualStudio.TestTools.UnitTesting (Espacio de nombres)