IAdjustableStateAddStateElementValueT Method |
Adds an element to this state. Calling code is responsible for ensuring
that the value is of a type that this state can store.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax void AddStateElementValue<T>(
string elementIdentification,
T value
)
Sub AddStateElementValue(Of T) (
elementIdentification As String,
value As T
)
generic<typename T>
void AddStateElementValue(
String^ elementIdentification,
T value
)
abstract AddStateElementValue :
elementIdentification : string *
value : 'T -> unit
Parameters
- elementIdentification
- Type: SystemString
The name of the new element. - value
- Type: T
The value of the new element.
Type Parameters
- T
- The type of the element being added to the state.
See Also