AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IPortletRequest.GetPortletMode Method

Returns a `PortletMode` object to tell the client what mode the portlet is running in.

PortletMode GetPortletMode();

#### Return Value

A `PortletMode` instance or null if not found in the request.

#### Remarks

The portlet mode indicates whether the portlet should display standard content or a summary for small-screened mobile devices. The mode also indicates if the portlet is syndicated (running asynchronously).

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | The request is not gatewayed.

#### See Also

IPortletRequest Interface | Plumtree.Remote.Portlet Namespace