[This is preliminary documentation and is subject to change.]
Constructor that accepts values for all mandatory fields
| C# | Visual Basic | Visual C++ |
public TimeUnit( DurationUnit unitOfMeasure, Nullable<decimal> value )
Public Sub New ( _ unitOfMeasure As DurationUnit, _ value As Nullable(Of Decimal) _ )
public: TimeUnit ( DurationUnit^ unitOfMeasure, Nullable<Decimal> value )
- unitOfMeasure (DurationUnit)
- Identifies unit of measure in which amount of time is expressed.
- value (Nullable<(Of <Decimal>)>)
- Gets or sets the content value of the <TimeUnit> element