Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

IPolicyFeature.OnCustomDataChange Method

Called by the policy infrastructure when the custom data (for example, the Expiration policy feature) for a policy feature changes. Third-party developers who implement this method can decide whether or to perform an action when the custom data for a policy feature changes.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
void OnCustomDataChange(
	PolicyItem policyItem,
	SPContentType ct


Type: Microsoft.Office.RecordsManagement.InformationPolicy.PolicyItem
Updated policy item.
Type: Microsoft.SharePoint.SPContentType
Content type to which this policy applies.

Microsoft Office SharePoint Server 2007 calls the OnCustomDataChange method when a user changes the custom settings on a specific policy item.

For more information, see IPolicyFeature Interface Overview and Policy Feature Definitions.

For an example of how to implement the IPolicyFeature interface, see the ProcessListItem method.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.