Initializes a new instance of the NameValueEntry
class with the specified key and value.
Namespace: CodeSmith.CustomPropertiesAssembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public NameValueEntry( string key, string value ) |
Visual Basic |
---|
Public Sub New ( key As String, value As String ) |
Parameters
- key
- Type: System..::..String
The String key in the key-and-value pair.
- value
- Type: System..::..String
The String value in the key-and-value pair. This argument can be a null reference.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | key is a null reference. |