YearMonthDuration Constructor (long)YearMonthDuration Constructor (Long)YearMonthDuration Constructor (long)

Initializes a new instance of the YearMonthDurationYearMonthDurationYearMonthDuration structure with the specified duration in months.

Syntax

Public Sub New ( _
    months As Long _
)
public YearMonthDuration(
    long months
)
public:
YearMonthDuration(
    long months
)
 

Parameters

months

Type: System.Int64System.Int64System::Int64

The duration in months.