Condividi tramite


Metodo PropertyCollection.Add (String, String)

Aggiunge un oggetto PluginOrRuleProperty all'insieme PropertyCollection.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    propertyName As String, _
    propertyValue As String _
)
public void Add(
    string propertyName,
    string propertyValue
)
public:
void Add(
    String^ propertyName, 
    String^ propertyValue
)
member Add : 
        propertyName:string * 
        propertyValue:string -> unit 
public function Add(
    propertyName : String, 
    propertyValue : String
)

Parametri

  • propertyName
    Tipo: System.String
    Nome della proprietà da aggiungere.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

PropertyCollection Classe

Overload Add

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting