Aqualogic Interaction API  
 

IPTPreferencesContext.RemovePreferences Method 

This method removes multiple preferences on the current object. The preferences can be for a specific portlet or not. The preferences can be for all users or for just the current user.

void RemovePreferences(
   string[] _astrPreferenceNames,
   int _nPortletID,
   PT_PREF_TYPES _prefType
);

Parameters

_astrPreferenceNames
is an array of the names of preferences to remove.
_nPortletID
is the Portlet the preference is set on. Use 0 if the preference is not a portlet preference.
_prefType
is the type of the preference. Use PT_PREF_TYPE.PT_PREFTYPE_CURRENT_USER if the preference is a preference for just this user. Use PT_PREF_TYPE.PT_PREFTYPE_ALL_USERS if the preference is a preference for all users.

See Also

IPTPreferencesContext Interface | com.plumtree.server Namespace