VbcTask.

OptionExplicit Property

Summary

Specifies whether the /optionexplicit option gets passed to the compiler. The default is false.
Assembly
NAnt.DotNet.dll
Namespace
NAnt.DotNet.Tasks
Containing Type
VbcTask

Syntax

[TaskAttribute("optionexplicit")]
[BooleanValidator()]
public bool OptionExplicit { get; set; }

Remarks

See the Microsoft.NET Framework SDK documentation for details.

Attributes

Type Description
TaskAttributeAttribute Indicates that property should be treated as a XML attribute for the task.
BooleanValidatorAttribute Used to indicate that a property should be able to be converted into a bool.

Value

Type Description
bool true if the option should be passed to the compiler; otherwise, false.