Compartilhar via


IVbcHostObject.SetWarningsAsErrors(String) Method

Definition

Specifies a list of warnings to treat as errors.

public:
 bool SetWarningsAsErrors(System::String ^ warningsAsErrors);
public bool SetWarningsAsErrors (string warningsAsErrors);
abstract member SetWarningsAsErrors : string -> bool
Public Function SetWarningsAsErrors (warningsAsErrors As String) As Boolean

Parameters

warningsAsErrors
String

A list of warnings to treat as errors.

Returns

true if the method was successful; otherwise, false.

Applies to