NAnt SDK Documentation - v0.92

CommandLineArgument.IsCollection Property

Gets a value indicating whether the argument is collection-based.

[Visual Basic]
Public ReadOnly Property IsCollection As Boolean
[C#]
public bool IsCollection {get;}

Property Value

true if the argument is backed by a Type that can be assigned to ICollection and is not backed by a Type that can be assigned to NameValueCollection; otherwise, false.

See Also

CommandLineArgument Class | NAnt.Core.Util Namespace