IVbcHostObject.SetWarningsAsErrors(String) Method
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 list of warnings to treat as errors.
public:
bool SetWarningsAsErrors(System::String ^ warningsAsErrors);
C#
public bool SetWarningsAsErrors(string warningsAsErrors);
abstract member SetWarningsAsErrors : string -> bool
Public Function SetWarningsAsErrors (warningsAsErrors As String) As Boolean
- warningsAsErrors
- String
A list of warnings to treat as errors.
true
if the method was successful; otherwise, false
.
Tuote | Versiot |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |