Share via


NameValue Constructor (String, String)

Initializes an instance of the NameValue class by using the provided parameters.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As String _
)
public NameValue(
    string name,
    string value
)
public:
NameValue(
    String^ name, 
    String^ value
)
new : 
        name:string * 
        value:string -> NameValue
public function NameValue(
    name : String, 
    value : String
)

Parameters

  • name
    Type: String

    A string that contains the name of the value.

  • value
    Type: String

    A string that contains the content that the name identifies.

.NET Framework Security

See Also

Reference

NameValue Class

NameValue Overload

Microsoft.VisualStudio.TestTools.Common Namespace

NameValue