ExportWebPartFileClass Class

The ExportWebPartFileClass class provides an ASP.NET page that returns the DWP string format of a Web Part given the file name of the DWP file.

System.Object

System.Web.UI.Control

  System.Web.UI.TemplateControl

     System.Web.UI.Page

        **Microsoft.SharePoint.SoapServer.ExportWebPartClass**

Public Constructors

The following table shows the constructors of the ExportWebPartFileClass class and a brief description of each.

Name Description
ExportWebPartFileClass Initializes a new instance of the ExportWebPartFileClass class.

Public Methods

The following table shows the methods of the ExportWebPartFileClass class and a brief description of each.

Name Description
Render(System.Web.UI.HtmlTextWriter) Renders the HTML returned by the HtmlTextWriter class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Example

The following code example shows a button on a Web page that returns the DWP string format of a Web Part.

Requirements

Namespace: Microsoft.SharePoint.SoapServer

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security