Gets the conversion rate from one currency to another.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
ReturnValue<double> GetConversionRate(
	CurrencyType source,
	CurrencyType dest,
	QuoteType type
)
Visual Basic
Function GetConversionRate ( 
	source As CurrencyType,
	dest As CurrencyType,
	type As QuoteType
) As ReturnValue(Of Double)
Visual C++
ReturnValue<double>^ GetConversionRate(
	CurrencyType source, 
	CurrencyType dest, 
	QuoteType type
)
F#
abstract GetConversionRate : 
        source : CurrencyType * 
        dest : CurrencyType * 
        type : QuoteType -> ReturnValue<float> 

Parameters

source
Type: RightEdge.Common..::..CurrencyType
The source currency
dest
Type: RightEdge.Common..::..CurrencyType
The destination currency
type
Type: RightEdge.Common..::..QuoteType
The quote type

Return Value

Type: ReturnValue<(Of <(<'Double>)>)>
The current rate at which the source currency can be converted to the destination currency.

See Also