Summary
Converts the argument to a string.
Syntax
[Function("to-string")]
[Obsolete("Use type-specific conversion functions instead.", false)]
public static string ConvertToString(string value)
Named method ConvertToString as a static ToString method would break
CLS compliance.
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
ObsoleteAttribute |
|
Parameters
Name |
Type |
Description |
value |
string |
The value to be converted. |
Return Value
Type |
Description |
string |
value converted to string. The function fails
with an exception when the conversion is not possible.
|