Skip to content

9cf74e66 0d83 a6e3 5c8c e24eda84fadb

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

IFormattableQuantity.ToString Method (UnitFormat, String, IFormatProvider)

Returns a String that represents this instance.

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

Syntax

C#

string ToString(
	UnitFormat unitFormat,
	string format,
	IFormatProvider formatProvider
)

C#

string ToString(
	UnitFormat unitFormat,
	string format,
	IFormatProvider formatProvider
)

VB

Function ToString ( 
	unitFormat As UnitFormat,
	format As String,
	formatProvider As IFormatProvider
) As String

VB

Function ToString ( 
	unitFormat As UnitFormat,
	format As String,
	formatProvider As IFormatProvider
) As String

C++

String^ ToString(
	UnitFormat unitFormat, 
	String^ format, 
	IFormatProvider^ formatProvider
)

C++

String^ ToString(
	UnitFormat unitFormat, 
	String^ format, 
	IFormatProvider^ formatProvider
)

F#

abstract ToString : 
        unitFormat : UnitFormat * 
        format : string * 
        formatProvider : IFormatProvider -> string 

F#

abstract ToString : 
        unitFormat : UnitFormat * 
        format : string * 
        formatProvider : IFormatProvider -> string 

Parameters

 

unitFormat
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Units.UnitFormat
The unit mode.
format
Type: System.String
The format.
formatProvider
Type: System.IFormatProvider
The format provider.

Return Value

Type: String
A String that represents this instance.

See Also

Reference

IFormattableQuantity Interface
ToString Overload
Sundew.Quantities.Engine.Quantities Namespace

Clone this wiki locally