Gemstone Timeseries Library
Show/Hide TOC

# IMeasurementExtensionsSetMultiplier Method

Sets the multiplier (i.e., "m" of y = mx + b) for a IMeasurement.

## Definition

Namespace: Gemstone.Timeseries
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.178 -- Release Build+52bde36e42c7b2f52d1e2cc6bb29e593f446f07c
C#
View Source Request Example

    public static void SetMultiplier(
    	this IMeasurement measurement,
    	double multiplier
    )

VB
View Source Request Example

    <ExtensionAttribute>
    Public Shared Sub SetMultiplier (
    	measurement As IMeasurement,
    	multiplier As Double
    )

C++
View Source Request Example

    public:
    [ExtensionAttribute]
    static void SetMultiplier(
    	IMeasurement^ measurement,
    	double multiplier
    )

JavaScript
View Source Request Example

    Gemstone.Timeseries.IMeasurementExtensions.SetMultiplier = function(measurement, multiplier);

#### Parameters

measurement IMeasurement
  IMeasurement to create new MeasurementMetadata for.
multiplier Double
  New multiplier 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

#### Reference

IMeasurementExtensions Class
Gemstone.Timeseries Namespace