SignalDataCollectionGetByTypeT Method |
Get the first object of the given type in this collection.
Namespace:
AGI.Foundation.Communications
Assembly:
AGI.Foundation.Communications (in AGI.Foundation.Communications.dll) Version: 23.2.417.0 (23.2.417.0)
Syntaxpublic T GetByType<T>()
where T : class
Public Function GetByType(Of T As Class) As T
public:
generic<typename T>
where T : ref class
T GetByType()
member GetByType : unit -> 'T when 'T : not struct
Type Parameters
- T
- The type of data to retrieve.
Return Value
Type:
TThe data, or
if there is no data of the given type.
See Also