Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Register Method

IPolicyFeature.Register Method

Performs any required initiation work, such as adding specific columns to the content type, or registering for events when a policy item is added to a policy.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

void Register(
	SPContentType ct
)

Parameters

ct
Type: Microsoft.SharePoint.SPContentType
Content type to which the policy applies.

Microsoft Office SharePoint Server 2007 calls the Register method when a user adds a new policy item to a policy. Office SharePoint Server 2007 calls the Register method of the associated policy feature to perform any required initiation work. For more information, see IPolicyFeature Interface Overview and Policy Feature Definitions.

For an example of how to use this method, see the example in the ProcessListItem method.

Community Additions

ADD
Show:
© 2015 Microsoft