Summary
Checks whether the specified property is read-only.
Syntax
[Function("is-readonly")]
public bool IsReadOnly(string name)
Examples
Check whether the "debug" property is read-only.
property::is-readonly('debug')
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
name |
string |
The property to test. |
Return Value
Type |
Description |
bool |
true if the specified property is read-only;
otherwise, false .
|