IValueWithMeasureTUnitOfMeasureCreateAnother Method |
Creates another value object with the specified parameters.
Namespace:
Aloe.EnterpriseOne.Model.Core.Metrics
Assembly:
Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
SyntaxIValueWithMeasure<TUnitOfMeasure> CreateAnother(
decimal value,
TUnitOfMeasure unitOfMeasure
)
Function CreateAnother (
value As Decimal,
unitOfMeasure As TUnitOfMeasure
) As IValueWithMeasure(Of TUnitOfMeasure)
IValueWithMeasure<TUnitOfMeasure>^ CreateAnother(
Decimal^ value,
TUnitOfMeasure unitOfMeasure
)
abstract CreateAnother :
value : decimal *
unitOfMeasure : 'TUnitOfMeasure -> IValueWithMeasure<'TUnitOfMeasure>
Parameters
- value
- Type: SystemDecimal
The value. - unitOfMeasure
- Type: TUnitOfMeasure
The unit of measure.
Return Value
Type:
IValueWithMeasureTUnitOfMeasureThe newly constructed value object.
Remarks
The CreateAnother(Decimal, TUnitOfMeasure) method is usually implemented explicitly.
It is not needed by the users of the implementing type, but is rather used by the conversion infrastructure.
See Also