Поделиться через


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
    Get
    Set
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

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

See Also

Reference

ProjectConfigurationProperties2 Interface

TreatWarningsAsErrors Overload

VSLangProj2 Namespace