PagesSection.PageBaseType Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld waarmee een code-behind-klasse wordt opgegeven die standaard .aspx pagina's overnemen.

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

Waarde van eigenschap

Een tekenreeks die een code-behind-klasse aangeeft die standaard .aspx pagina's overnemen.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de PageBaseType eigenschap gebruikt.

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

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

' Set the PageBaseType property to
' "MyNameSpace.MyCustomPagelBaseType".
pagesSection.PageBaseType = "MyNameSpace.MyCustomPagelBaseType"

Van toepassing op