ICscHostObject.SetTreatWarningsAsErrors(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a value indicating whether to treat all warnings as errors.
public:
bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors);
public bool SetTreatWarningsAsErrors (bool treatWarningsAsErrors);
abstract member SetTreatWarningsAsErrors : bool -> bool
Public Function SetTreatWarningsAsErrors (treatWarningsAsErrors As Boolean) As Boolean
Parameters
- treatWarningsAsErrors
- Boolean
true
to treat all warnings as errors; otherwise, false
.
Returns
true
if the method was successful; otherwise, false
.