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