Sdílet prostřednictvím


DataSourceElement.Name – vlastnost

Získá nebo nastaví prvek nastavení název zdroje dat app.config souboru.

Obor názvů:  Microsoft.VisualStudio.TestTools.UnitTesting
Sestavení:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (v Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntaxe

'Deklarace
<ConfigurationPropertyAttribute("name", IsKey := True, IsRequired := True)> _
Public Property Name As String
    Get
    Set
[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)

Hodnota vlastnosti

Typ: System.String
Název zdroje dat.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

DataSourceElement Třída

Microsoft.VisualStudio.TestTools.UnitTesting – obor názvů