DocumentSetContentsWebPart.RenderWebPart Method
This member is reserved for internal use and is not intended to be used directly from your code. Renders the Web Part to the client to show the contents of the Document Set.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.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.HtmlTextWriterThe HtmlTextWriter object that renders the content of the Web Part to the client.
Remarks
This override renders the prompt, “The Document Set Contents web part will display the contents of the Document Set in your Welcome Page” if the current list item does not exist in the current SPContext or its content type is not Document Set. It then calls the RenderWebPart() method of the base class to render the rest of the Web Part.
See Also
Reference
DocumentSetContentsWebPart Class