PagesSection.PageParserFilterType Propriété

Définition

Obtient ou définit une valeur qui spécifie le type de filtre de l'analyseur.

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

Valeur de propriété

Chaîne qui spécifie le type de filtre de l'analyseur.

Attributs

Exemples

L'exemple de code suivant montre comment utiliser la propriété 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"

Remarques

Un filtre d’analyseur, qui est une instance de la PageParserFilter classe, est appelé par le processus de compilation de pages avant l’étape d’analyse pour autoriser les modifications apportées au code source au moment de l’exécution.

S’applique à

Voir aussi