CSharpProjectConfigurationProperties3.TreatWarningsAsErrors Property
This member provides internal-only access to C# project configuration properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
Namespace: VSLangProj80
Assembly: VSLangProj80 (in VSLangProj80.dll)
Syntax
'Declaration
Property TreatWarningsAsErrors As Boolean
bool TreatWarningsAsErrors { get; set; }
property bool TreatWarningsAsErrors {
bool get ();
void set (bool value);
}
abstract TreatWarningsAsErrors : bool with get, set
function get TreatWarningsAsErrors () : boolean
function set TreatWarningsAsErrors (value : boolean)
Property Value
Type: System.Boolean
Implements
ProjectConfigurationProperties3.TreatWarningsAsErrors
Remarks
External components can access these properties through the Properties collection for the appropriate Visual Studio automation object. (That is, ProjectItem for project files and folders, Project for projects, and Configuration for configurations). This member name name can be used as an indexer into the Properties collection. For more information about accessing project properties through automation, see Accessing Project Type Specific Project, Project Item, and Configuration Properties and How to: Access Configuration Properties for Specific Types of Projects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.