다음을 통해 공유


PagesSection.PageParserFilterType 속성

정의

파서 필터 형식을 지정하는 값을 가져오거나 설정합니다.

public:
 property System::String ^ PageParserFilterType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("pageParserFilterType", DefaultValue="")]
public string PageParserFilterType { get; set; }
[<System.Configuration.ConfigurationProperty("pageParserFilterType", DefaultValue="")>]
member this.PageParserFilterType : string with get, set
Public Property PageParserFilterType As String

속성 값

String

파서 필터 형식을 지정하는 문자열입니다.

특성

예제

다음 코드 예제에서는 PageParserFilterType 속성을 사용하는 방법을 보여 줍니다.

// Get the current PageParserFilterType property value.
Console.WriteLine(
    "Current PageParserFilterType value: '{0}'",
    pagesSection.PageParserFilterType);

// Set the PageParserFilterType property to
// "MyNameSpace.AllowOnlySafeControls".
pagesSection.PageParserFilterType =
    "MyNameSpace.AllowOnlySafeControls";
' Get the current PageParserFilterType property value.
Console.WriteLine( _
    "Current PageParserFilterType value: '{0}'", _
    pagesSection.PageParserFilterType)

' Set the PageParserFilterType property to
' "MyNameSpace.AllowOnlySafeControls".
pagesSection.PageParserFilterType = _
    "MyNameSpace.AllowOnlySafeControls"

설명

인스턴스인 파서 필터의는 PageParserFilter 런타임 시 소스 코드에 변경 내용을 허용 하는 구문 분석 단계 전에 페이지 컴파일 프로세스에 의해 호출 됩니다.

적용 대상

추가 정보