ConsolidatedNewsFeedWebPart.RenderWebPart Method
Renders the management links of “My Colleagues”, “My Interests”, and “Newsfeed Settings”, as well as the ActivityEvent objects in the m_EventsCollection.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub RenderWebPart ( _
writer As HtmlTextWriter _
)
'Usage
Dim writer As HtmlTextWriter
Me.RenderWebPart(writer)
protected override void RenderWebPart(
HtmlTextWriter writer
)
Parameters
- writer
Type: System.Web.UI.HtmlTextWriter
The object that renders the content of the Web Part to the client.
Remarks
This override renders a message to tell users that there are no activities to display if the m_EventsCollection is null or empty, and at the same time, renders descriptive text for the management links of “My Colleagues”, ”My Interests”, and “Newsfeed Settings”.
See Also
Reference
ConsolidatedNewsFeedWebPart Class