[This is preliminary documentation and is subject to change.]
Constructor that accepts values for all mandatory fields
| C# | Visual Basic | Visual C++ |
public Duration( DurationUnits units, string value )
Public Sub New ( _ units As DurationUnits, _ value As String _ )
public: Duration ( DurationUnits^ units, String^ value )
- units (DurationUnits)
- Unit of time of the Duration value.
- value (String)
- Gets or sets the content value of the <Duration> element