IMeasurementExtensionsSetKey Method

Sets the associated MeasurementKey for a IMeasurement.

Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.137 -- Release Build+5d21665c80e600baad1ecadd223a3b4e0dc3a8d8
public static void SetKey(
	this IMeasurement measurement,
	MeasurementKey key
)

Parameters

measurement  IMeasurement
IMeasurement to create new MeasurementMetadata for.
key  MeasurementKey
New measurement key value to assign to measurement's metadata.

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