Struct KeyValue
Represents a key-value string pair.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
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 |
---|---|---|
System.String | inKey | Key, or null if empty. |
System.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 |
---|---|
System.String |
Value
Value, or null if empty.
Declaration
public string Value
Field Value
Type | Description |
---|---|
System.String |
Properties
IsEmpty
Tells whether the key-value pair is empty.
Declaration
public readonly bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |