Click or drag to resize

SignalGetDataByTypeT Method

Gets signal data based on the type of data requested. This data represents optional properties on the signal.

Namespace:  AGI.Foundation.Communications
Assembly:  AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 22.2.414.0 (22.2.414.0)
public T GetDataByType<T>()
where T : class

Type Parameters

The type of data to retrieve.

Return Value

Type: T
The data, or if there is no data of the given type.
There should be only one instance of a given type in a given signal. If there are more, this method will return the first occurrence.
See Also