Export (0) Print
Expand All
Expand Minimize

CSharpProjectConfigurationProperties3.TreatWarningsAsErrors Property 

This member provides internal-only access to C# project configuration properties. For more information, see Accessing Project, Project Item, and Configuration Properties.

Namespace: VSLangProj80
Assembly: VSLangProj80 (in vslangproj80.dll)

bool TreatWarningsAsErrors { get; set; }
/** @property */
boolean get_TreatWarningsAsErrors ()

/** @property */
void set_TreatWarningsAsErrors (/** @attribute InAttribute() */ boolean pWarningAsError)

function get TreatWarningsAsErrors () : boolean

function set TreatWarningsAsErrors (pWarningAsError : boolean)

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, Project Item, and Configuration Properties and How to: Access Project Configuration Properties (Visual C#).

© 2014 Microsoft