Click or drag to resize

WbQuantity Structure

This is preliminary documentation and is subject to change.

Represents an amount with arbitrary precision, combined with a unit.
Inheritance Hierarchy
SystemObject
  SystemValueType
    WikiClientLibrary.Wikibase.DataTypesWbQuantity

Namespace: WikiClientLibrary.Wikibase.DataTypes
Assembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public struct WbQuantity

The WbQuantity type exposes the following members.

Constructors
 NameDescription
Public methodWbQuantity(Double, Uri) Initializes a new WbQuantity with the accurate amount, and entity URI of the unit.
Public methodWbQuantity(Double, Double, Uri) Initializes a new WbQuantity with the amount, error, and entity URI of the unit.
Public methodWbQuantity(Double, Double, Double, Uri) Initializes a new WbQuantity with the amount, error, and entity URI of the unit.
Top
Properties
 NameDescription
Public propertyAmount The numeric value of the amount.
Public propertyHasError Determines whether the Amount has error.
Public propertyLowerBound The lower-bound of the Amount caused by error.
Public propertyUnit Entity URI of the unit.
Public propertyStatic memberUnity The URI indicating the quantity has no unit (unity unit).
Public propertyUpperBound The upper-bound of the Amount caused by error.
Top
Methods
 NameDescription
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Top
See Also