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

プロパティ値

パーサーのフィルター タイプを指定する文字列。

属性

次のコード例は、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 インスタンス) は、実行時にソース コードを変更できるように、解析ステップの前にページ コンパイル プロセスによって呼び出されます。

適用対象

こちらもご覧ください