ProjectConfigurationProperties.TreatWarningsAsErrors Property
This member provides internal-only access to file properties. For more information, see Accessing Project Type Specific Project, Project Item, and Configuration Properties.
Namespace: VSLangProj
Assembly: VSLangProj (in VSLangProj.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: Boolean
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). The property names for the members of this type 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.
.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.