Struct KeyValue
Represents a key-value string pair.
Inherited Members
Namespace: TopSolid.Kernel.Automating
Assembly: cs.temp.dll.dll
Syntax
[AvailableSinceVersion(7, 8, 0, 0)]
public struct KeyValue
Remarks
This structure is available since v7.8.
Constructors
KeyValue(String, String)
Initializes a new instance of the KeyValue structure.
Declaration
public KeyValue(string inKey, string inValue)
Parameters
Type | Name | Description |
---|---|---|
String | inKey | Key, or null if empty. |
String | inValue | Value, or null if empty. |
Fields
Empty
Empty key-value pair.
Declaration
public static readonly KeyValue Empty
Field Value
Type | Description |
---|---|
KeyValue |
Key
Key, or null if empty.
Declaration
public string Key
Field Value
Type | Description |
---|---|
String |
Value
Value, or null if empty.
Declaration
public string Value
Field Value
Type | Description |
---|---|
String |
Properties
IsEmpty
Tells whether the key-value pair is empty.
Declaration
public readonly bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
Boolean |