[This is preliminary documentation and is subject to change.]

CTor from parts of date

Namespace: Tools.InternalT
Assembly: Tools (in Tools.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[CLSCompliantAttribute(false)]
public FirstVersionAttribute(
	ushort Year,
	byte Month,
	byte Day
)
Visual Basic
<CLSCompliantAttribute(False)> _
Public Sub New ( _
	Year As UShort, _
	Month As Byte, _
	Day As Byte _
)
Visual C++
[CLSCompliantAttribute(false)]
public:
FirstVersionAttribute(
	unsigned short Year, 
	unsigned char Month, 
	unsigned char Day
)
F#
[<CLSCompliantAttribute(false)>]
new : 
        Year:uint16 * 
        Month:byte * 
        Day:byte -> FirstVersionAttribute
JScript
public function FirstVersionAttribute(
	Year : ushort, 
	Month : byte, 
	Day : byte
)

Parameters

Year
Type: System..::..UInt16
Number of eyar
Month
Type: System..::..Byte
Month (number of month in Year, 1-based)
Day
Type: System..::..Byte
Day (number of day in Month, 1-based)

Remarks

Arguments valid for DateTime constructor are acceptable.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionyear is less than 1 or greater than 9999.-or- month is less than 1 or greater than 12.-or- day is less than 1 or greater than the number of days in month.
System..::..ArgumentExceptionThe specified parameters evaluate to less than MinValue or more than MaxValue.

See Also