Click or drag to resize

WbQuantity(Double, Double, Uri) Constructor

This is preliminary documentation and is subject to change.

Initializes a new WbQuantity with the amount, error, and entity URI of the unit.

Namespace: WikiClientLibrary.Wikibase.DataTypes
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public WbQuantity(
	double amount,
	double error,
	Uri unit
)

Parameters

amount  Double
The numeric value of the amount.
error  Double
The numeric error of the amount.
unit  Uri
Entity URI of the unit. Use Unity for quantities that have no explicit units.
Exceptions
ExceptionCondition
ArgumentExceptionamount is not in the range of lowerBound and upperBound.
ArgumentNullExceptionunit is null.
See Also