NAnt SDK Documentation - v0.85-nightly-2005-11-09 |
|
ConversionFunctions.ToDateTime Method
[This is preliminary documentation and subject to change.]
NOTE: This method is now obsolete.
Use type-specific conversion functions instead.
Converts the argument to a datetime.
[Visual Basic]
<Function(Name:="to-datetime"), _
Obsolete(Message:="Use type-specific conversion functions instead.", IsError:=False)>
Public Shared Function ToDateTime( _
ByVal
value As
Date _
) As
Date
[C#]
[Function(Name="to-datetime")]
[Obsolete(Message="Use type-specific conversion functions instead.", IsError=False)]
public static
DateTime ToDateTime(
DateTime value);
Parameters
-
value
- value to be converted
Return Value
value converted to datetime. The function fails with an exception when the conversion is not possible.
Remarks
Missing <remarks> documentation for M:NAnt.Core.Functions.ConversionFunctions.ToDateTime(System.DateTime)
See Also
ConversionFunctions Class | NAnt.Core.Functions Namespace