다음을 통해 공유


AddDocumentToolBarButton.OnPreRender Method

Handles the PreRender event.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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 override makes the AddLibraryToolBarButton invisible if the current user does not have the AddListItems permission. This override calls the OnPreRender() method to notify subscribers of the Init event.

See Also

Reference

AddDocumentToolBarButton Class

AddDocumentToolBarButton Members

Microsoft.SharePoint.Portal.WebControls Namespace