NameValue Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
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.