Прочитать на английском

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


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
    Get
    Set
bool EnableFxCop { get; set; }
property bool EnableFxCop {
    bool get ();
    void set (bool value);
}
abstract EnableFxCop : bool with get, set
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

VsWebSite Namespace

System.Diagnostics.CodeAnalysis

EnvDTE

WebSiteProperties

Other Resources

Code Analysis, Project Designer

Referencing Automation Assemblies and the DTE2 Object