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: StringA string that contains the name of the value.
value
Type: StringA string that contains the content that the name identifies.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.