Share via


PagesSection.PageParserFilterType Propiedad

Definición

Obtiene o establece un valor que especifica el tipo de filtro del analizador.

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

Valor de propiedad

String

Cadena que especifica el tipo de filtro del analizador.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo utilizar la propiedad 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"

Comentarios

El proceso de compilación de páginas llama a un filtro del analizador, que es una instancia de la PageParserFilter clase , antes del paso de análisis para permitir los cambios en el código fuente en tiempo de ejecución.

Se aplica a

Consulte también