| WbQuantity(Double, 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.DataTypesAssembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public WbQuantity(
double amount,
double lowerBound,
double upperBound,
Uri unit
)
Public Sub New (
amount As Double,
lowerBound As Double,
upperBound As Double,
unit As Uri
)
Dim amount As Double
Dim lowerBound As Double
Dim upperBound As Double
Dim unit As Uri
Dim instance As New WbQuantity(amount,
lowerBound, upperBound, unit)
public:
WbQuantity(
double amount,
double lowerBound,
double upperBound,
Uri^ unit
)
new :
amount : float *
lowerBound : float *
upperBound : float *
unit : Uri -> WbQuantity
Parameters
- amount Double
- The numeric value of the amount.
- lowerBound Double
- The lower-bound of the amount caused by error.
- upperBound Double
- The upper-bound of the amount caused by error.
- unit Uri
- Entity URI of the unit. Use Unity for quantities that have no explicit units.
Exceptions See Also