Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IPortletResponse.RemoveSettingValue Method

Removes a setting from the portal.

void RemoveSettingValue(
SettingType type,
string name
);

#### Parameters

type
  the type of setting to remove (e.g., Admin, Portlet, User)
name
  the name of the setting to remove

#### Remarks

This method replaces the `Remove*Setting()` method in the 3.5 GDK. Note: UserInfo settings cannot be removed by a Portlet.

#### Exceptions

Exception Type | Condition
--- | ---
NotGatewayedException | if the request is not gatewayed
ArgumentException | if the user tries to remove a UserInfo setting

#### See Also

IPortletResponse Interface | Plumtree.Remote.Portlet Namespace