Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletResponse.SetTitle Method

Sets the Portlet's title in the Portlet title bar on the portal page.

void SetTitle(
string title
);

#### Parameters

title
  the title to be displayed for the Portlet

#### Remarks

If this method is not used, the Portlet title bar will display the default name set by the administrator. Note: This method can only be called once per page.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | if the request is not gatewayed
ProtocolNotSupportedException | if used with a version of the portal that does not support this feature
InvalidOperationException | if the method is called more than once per page

#### See Also

IPortletResponse Interface | Plumtree.Remote.Portlet Namespace