BasicStateAddStateElementValueT 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.2.419.0 (24.2.419.0)
Syntax public void AddStateElementValue<T>(
string elementIdentification,
T value
)
Public Sub AddStateElementValue(Of T) (
elementIdentification As String,
value As T
)
public:
generic<typename T>
virtual void AddStateElementValue(
String^ elementIdentification,
T value
) sealed
abstract AddStateElementValue :
elementIdentification : string *
value : 'T -> unit
override 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.
Implements
IAdjustableStateAddStateElementValueT(String, T)See Also