PropertyCollection.Add (Método) (String, String)
Agrega un objeto PluginOrRuleProperty a la colección PropertyCollection.
Espacio de nombres: Microsoft.VisualStudio.TestTools.WebTesting
Ensamblado: Microsoft.VisualStudio.QualityTools.WebTestFramework (en Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Sintaxis
'Declaración
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
)
Parámetros
- propertyName
Tipo: System.String
Nombre de la propiedad que se va a agregar.
- propertyValue
Tipo: System.String
Valor que se va a agregar.
Seguridad de .NET Framework
- Plena confianza para el llamador inmediato. Un código de confianza parcial no puede utilizar este miembro. Para obtener más información, vea Utilizar bibliotecas de código que no es de plena confianza.
Vea también
Referencia
Microsoft.VisualStudio.TestTools.WebTesting (Espacio de nombres)