NameValue Constructors

Definition

Overloads

NameValue()

Initializes an instance of the NameValue class.

NameValue(NameValue)

Initializes an instance of the NameValue class that is identical to the provided NameValue object.

NameValue(String, String)

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

NameValue()

Initializes an instance of the NameValue class.

public:
 NameValue();
public NameValue ();
Public Sub New ()

Applies to

NameValue(NameValue)

Initializes an instance of the NameValue class that is identical to the provided NameValue object.

public:
 NameValue(Microsoft::VisualStudio::TestTools::Common::NameValue ^ other);
public NameValue (Microsoft.VisualStudio.TestTools.Common.NameValue other);
new Microsoft.VisualStudio.TestTools.Common.NameValue : Microsoft.VisualStudio.TestTools.Common.NameValue -> Microsoft.VisualStudio.TestTools.Common.NameValue
Public Sub New (other As NameValue)

Parameters

other
NameValue

A NameValue object.

Applies to

NameValue(String, String)

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

public:
 NameValue(System::String ^ name, System::String ^ value);
public NameValue (string name, string value);
new Microsoft.VisualStudio.TestTools.Common.NameValue : string * string -> Microsoft.VisualStudio.TestTools.Common.NameValue
Public Sub New (name As String, value As String)

Parameters

name
String

A string that contains the name of the value.

value
String

A string that contains the content that the name identifies.

Applies to