다음을 통해 공유


WebSiteProperties.EnableFxCop 속성

웹 사이트 프로젝트에서 FxCop(코드 분석)을 활성화할지 여부를 가져오거나 설정합니다.

네임스페이스:  VsWebSite
어셈블리:  VsWebSite.Interop(VsWebSite.Interop.dll)

구문

‘선언
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)

속성 값

형식: Boolean
코드 분석이 활성화되는 경우 true이고, 그렇지 않으면 false입니다.

설명

코드 분석에 대한 자세한 내용은 System.Diagnostics.CodeAnalysis 네임스페이스를 참조하십시오.

예제

런타임에 바인딩되는 속성을 읽고 설정하는 예제는 WebSiteProperties를 참조하십시오.

.NET Framework 보안

참고 항목

참조

WebSiteProperties 인터페이스

VsWebSite 네임스페이스

System.Diagnostics.CodeAnalysis

EnvDTE

WebSiteProperties

기타 리소스

프로젝트 디자이너, 코드 분석

자동화 어셈블리 및 DTE2 개체 참조