Assembly: System.Web (in System.Web.dll)
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>] abstract ExportVerb : WebPartVerb with get [<PersistenceModeAttribute(PersistenceMode.InnerProperty)>] override ExportVerb : WebPartVerb with get
The export verb referenced by the property appears in the verbs drop-down menu within the title bar of each WebPart control in a zone. The verb appears in the verbs menu in all page display modes.
The following part of the code example is from the partial class, and contains the code that toggles whether the export verb is enabled or disabled.
The other part of the code example is the Web page that hosts the custom control and contains the user interface (UI). Notice that the declarative <ExportVerb> element in the zone sets the specific text that represents the export verb in the verbs drop-down menu for the WebPart control.
Finally, notice that in the following code example, the declarative ExportMode property value on the <asp:TextDisplayWebPart> element is set to the value All, meaning that all exportable property values on the control will be exported.
After you load the page in a browser, switch the page into catalog display mode, and add the TextDisplayWebPart control to the page. You can use the check boxes to enable and disable the export verb on the TextDisplayWebPart control. If you click the export verb, you are prompted for a local path to save a definition file for the control.