SignalGetDataByType Method (Type) |
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: 24.2.419.0 (24.2.419.0)
Syntaxpublic Object GetDataByType(
Type type
)
Public Function GetDataByType (
type As Type
) As Object
public:
Object^ GetDataByType(
Type^ type
)
member GetDataByType :
type : Type -> Object
Parameters
- type
- Type: SystemType
The type of data to retrieve.
Return Value
Type:
ObjectThe data, or
if there is no data of the given type.
Exceptions
Remarks
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