Compartir a través de


PropertyCollection.Add Method (String, String)

Adds a PluginOrRuleProperty to the PropertyCollection.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
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
)

Parameters

  • propertyName
    Type: String

    The property name to add.

  • propertyValue
    Type: String

    The value to add.

.NET Framework Security

See Also

Reference

PropertyCollection Class

Add Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace