CommandStateAdd Method
Adds a state element with the provided key and value to the
CommandState.
Namespace: KGySoft.ComponentModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public void Add(
string key,
Object? value
)
Public Sub Add (
key As String,
value As Object
)
public:
virtual void Add(
String^ key,
Object^ value
) sealed
abstract Add :
key : string *
value : Object -> unit
override Add :
key : string *
value : Object -> unit
- key String
- The object to use as the key of the element to add.
- value Object
- The object to use as the value of the element to add.
IDictionaryTKey, TValueAdd(TKey, TValue)