ProjectConfigurationProperties2.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: VSLangProj2
Assembly: VSLangProj2 (in VSLangProj2.dll)
Syntax
'Declaration
Property TreatWarningsAsErrors As Boolean
'Usage
Dim instance As ProjectConfigurationProperties2
Dim value As Boolean
value = instance.TreatWarningsAsErrors
instance.TreatWarningsAsErrors = value
bool TreatWarningsAsErrors { get; set; }
property bool TreatWarningsAsErrors {
bool get ();
void set (bool value);
}
function get TreatWarningsAsErrors () : boolean
function set TreatWarningsAsErrors (value : boolean)
Property Value
Type: System.Boolean
Implements
ProjectConfigurationProperties.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). 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.
See Also
Reference
ProjectConfigurationProperties2 Interface
ProjectConfigurationProperties2 Members