Skip to content

f7425709 0f68 9a11 7656 10eaf50f3167

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

UnitSystem.GetQuantityFrom Method

Gets the specified quantity.

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

Syntax

C#

public static Quantity GetQuantityFrom(
	string quantity,
	CultureInfo cultureInfo
)

C#

public static Quantity GetQuantityFrom(
	string quantity,
	CultureInfo cultureInfo
)

VB

Public Shared Function GetQuantityFrom ( 
	quantity As String,
	cultureInfo As CultureInfo
) As Quantity

VB

Public Shared Function GetQuantityFrom ( 
	quantity As String,
	cultureInfo As CultureInfo
) As Quantity

C++

public:
static Quantity^ GetQuantityFrom(
	String^ quantity, 
	CultureInfo^ cultureInfo
)

C++

public:
static Quantity^ GetQuantityFrom(
	String^ quantity, 
	CultureInfo^ cultureInfo
)

F#

static member GetQuantityFrom : 
        quantity : string * 
        cultureInfo : CultureInfo -> Quantity 

F#

static member GetQuantityFrom : 
        quantity : string * 
        cultureInfo : CultureInfo -> Quantity 

Parameters

 

quantity
Type: System.String
The quantity.
cultureInfo
Type: System.Globalization.CultureInfo
The culture information.

Return Value

Type: Quantity
A Quantity.

See Also

Reference

UnitSystem Class
Sundew.Quantities.Engine Namespace

Clone this wiki locally