IVbcHostObject.SetTreatWarningsAsErrors(Boolean) Method

Definition

Specifies a value indicating whether to treat all warnings as errors.

C#
public bool SetTreatWarningsAsErrors(bool treatWarningsAsErrors);

Parameters

treatWarningsAsErrors
Boolean

true to treat all warnings as errors; otherwise, false.

Returns

true if the method was successful; otherwise, false.

Applies to

Ürün Sürümler
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1