共用方式為


LogonSelector.OnPreRender Method

Raises the PreRender() event.

Namespace:  Microsoft.SharePoint.IdentityModel
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

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

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

Parameters

Remarks

This method creates its list of providers from the claims authentication providers configured in the Internet Information Services (IIS) authentication settings.

This method sets the AutoPostBack property to true to cause the LogonSelector control to force an immediate post to the server if the user changes the list selection.

This method hides the LogonSelector control if the collection of the claims authentication providers is empty.

See Also

Reference

LogonSelector Class

LogonSelector Members

Microsoft.SharePoint.IdentityModel Namespace