DocumentSetContentsWebPart.RenderWebPart(HtmlTextWriter) DocumentSetContentsWebPart.RenderWebPart(HtmlTextWriter) DocumentSetContentsWebPart.RenderWebPart(HtmlTextWriter) 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.

 override void RenderWebPart(System::Web::UI::HtmlTextWriter ^ writer);
protected override void RenderWebPart (System.Web.UI.HtmlTextWriter writer);
Protected Overrides Sub RenderWebPart (writer As HtmlTextWriter)
HtmlTextWriter HtmlTextWriter HtmlTextWriter

The HtmlTextWriter object that renders the content of the Web Part to the client.


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 Microsoft.Office.Server.WebControls.DocumentSetBaseWebPart.RenderWebPart method of the base class to render the rest of the Web Part.

Applies to