convert::to-string

Obsolete. Use type-specific conversion functions instead.
Converts the argument to a string.

Remarks

Named method ConvertToString as a static ToString method would break CLS compliance.
string convert::to-string(value)

Parameters

Name Type Description
value string The value to be converted.

Return Value

value converted to string. The function fails with an exception when the conversion is not possible.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions