Skip to content

9ddec70c 56cd d162 1360 9a1b723344ae

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Unit Implicit Conversion (Unit to Expression)

Gets the expression for the specified unit.

Namespace: Sundew.Quantities.Engine.Units
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public static implicit operator Expression (
	Unit unit
)

C#

public static implicit operator Expression (
	Unit unit
)

VB

Public Shared Widening Operator CType ( 
	unit As Unit
) As Expression

VB

Public Shared Widening Operator CType ( 
	unit As Unit
) As Expression

C++

static implicit operator Expression^ (
	Unit^ unit
)

C++

static implicit operator Expression^ (
	Unit^ unit
)

F#

F#

Parameters

 

unit
Type: Sundew.Quantities.Engine.Units.Unit
The unit.

Return Value

Type: Expression
An Expression.

See Also

Reference

Unit Class
Sundew.Quantities.Engine.Units Namespace

Clone this wiki locally