IMeasurementExtensionsGetSignalType Method

Gets the SignalType for the given measurement as queried from the database - or - NONE if the signal type is not found in the database, the measurement ID is empty, or the signal type ID is not a valid SignalType enumeration value.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.138 -- Release Build+b4f8847fe309a44734617722bca179874d85b46d
public static SignalType GetSignalType(
	this IMeasurement measurement,
	DataSet dataSource
)

Parameters

measurement  IMeasurement
IMeasurement to obtain signal type for.
dataSource  DataSet
DataSet that contains measurement metadata.

Return Value

SignalType
SignalType for the given measurement if found in database; otherwise, NONE.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMeasurement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also