Share via


WebSiteProperties.EnableFxCop Property

Gets or sets whether to enable Code Analysis (FxCop) in the Web site project.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
Property EnableFxCop As Boolean
'Usage
Dim instance As WebSiteProperties 
Dim value As Boolean 

value = instance.EnableFxCop

instance.EnableFxCop = value
bool EnableFxCop { get; set; }
property bool EnableFxCop {
    bool get ();
    void set (bool value);
}
function get EnableFxCop () : boolean 
function set EnableFxCop (value : boolean)

Property Value

Type: System.Boolean
true if Code Analysis is enabled; otherwise false.

Remarks

For more information about Code Analysis, see the System.Diagnostics.CodeAnalysis namespace.

Examples

For an example of reading and setting late-bound properties, see WebSiteProperties.

.NET Framework Security

See Also

Reference

WebSiteProperties Interface

WebSiteProperties Members

VsWebSite Namespace

System.Diagnostics.CodeAnalysis

EnvDTE

WebSiteProperties

Other Resources

Code Analysis, Project Designer

Referencing Automation Assemblies and the DTE2 Object