VCMidlTool.WarningLevel Property

Definition

Gets or sets a value indicating how strictly the compiler checks for potentially suspect constructs.

public:
 property Microsoft::VisualStudio::VCProjectEngine::midlWarningLevelOption WarningLevel { Microsoft::VisualStudio::VCProjectEngine::midlWarningLevelOption get(); void set(Microsoft::VisualStudio::VCProjectEngine::midlWarningLevelOption value); };
public:
 property Microsoft::VisualStudio::VCProjectEngine::midlWarningLevelOption WarningLevel { Microsoft::VisualStudio::VCProjectEngine::midlWarningLevelOption get(); void set(Microsoft::VisualStudio::VCProjectEngine::midlWarningLevelOption value); };
[System.Runtime.InteropServices.DispId(6)]
public Microsoft.VisualStudio.VCProjectEngine.midlWarningLevelOption WarningLevel { [System.Runtime.InteropServices.DispId(6)] get; [System.Runtime.InteropServices.DispId(6)] set; }
[<System.Runtime.InteropServices.DispId(6)>]
[<get: System.Runtime.InteropServices.DispId(6)>]
[<set: System.Runtime.InteropServices.DispId(6)>]
member this.WarningLevel : Microsoft.VisualStudio.VCProjectEngine.midlWarningLevelOption with get, set
Public Property WarningLevel As midlWarningLevelOption

Property Value

A midlWarningLevelOption enumeration.

Attributes

Remarks

WarningLevel exposes the functionality of the C++ compiler's /w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level) option and the MIDL compiler's /w, /W0, /W1, /W2, /W3, /W4, /w1, /w2, /w3, /w4, /Wall, /wd, /we, /wo, /Wv, /WX (Warning Level) option.

Use the warningLevelOption enumeration to change the value of the VCCLCompilerTool property.

Use the midlWarningLevelOption enumeration to change the value of the VCMidlTool property.

Applies to