Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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#).

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft