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
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
- 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
System.Diagnostics.CodeAnalysis