共用方式為


ContextSelector<T>.OnPreRender Method

Raises an event after the control is loaded but before it is rendered.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overrides Sub OnPreRender ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreRender(e)
protected override void OnPreRender(
    EventArgs e
)

Parameters

  • e
    Type: System.EventArgs

    A System.EventArgs object that contains the event data.

See Also

Reference

ContextSelector<T> Class

ContextSelector<T> Members

Microsoft.SharePoint.WebControls Namespace