Partager via


ICscHostObject.SetTreatWarningsAsErrors(Boolean) Method

Definition

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.

Applies to