NAnt SDK Documentation - v0.92

PropertyFunctions.IsDynamic Method 

Checks whether the specified property is a dynamic property.

[Visual Basic]
<Function(Name:="is-dynamic")>
Public Function IsDynamic( _
   ByVal name As String _
) As Boolean
[C#]
[Function(Name="is-dynamic")]
public bool IsDynamic(
   string name
);

Parameters

name
The property to test.

Return Value

true if the specified property is a dynamic property; otherwise, false.

Exceptions

Exception Type Condition
ArgumentException Property name has not been set.

Example

Check whether the "debug" property is a dynamic property.

property::is-dynamic('debug')

See Also

PropertyFunctions Class | NAnt.Core.Functions Namespace