SocialCommentWebPart.CreateChildControls Method
Creates the child controls for the SocialCommentWebPart.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Protected Overrides Sub CreateChildControls
'Usage
Me.CreateChildControls()
protected override void CreateChildControls()
Remarks
This override creates and initializes a SocialCommentControl used to view and modify SocialComment objects. If the parent of the SocialCommentWebPart is WebPartPreview or is not enabled, the SocialCommentControl is not created.