PropertyCollection.Add, méthode (String, String)
Ajoute un objet PluginOrRuleProperty à l'objet PropertyCollection.
Espace de noms : Microsoft.VisualStudio.TestTools.WebTesting
Assembly : Microsoft.VisualStudio.QualityTools.WebTestFramework (dans Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntaxe
'Déclaration
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
)
Paramètres
propertyName
Type : StringNom de la propriété à ajouter.
propertyValue
Type : StringValeur à ajouter.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.