For those of you that need a quick conversion of the event receiver types, here they are:
- SPEventReceiverType.ItemAdding = 1
- SPEventReceiverType.ItemUpdating = 2
- SPEventReceiverType.ItemDeleting = 3
- SPEventReceiverType.ItemCheckingIn = 4
- SPEventReceiverType.ItemCheckingOut = 5
- SPEventReceiverType.ItemUncheckingOut = 6
- SPEventReceiverType.ItemAttachmentAdding = 7
- SPEventReceiverType.ItemAttachmentDeleting = 8
- SPEventReceiverType.ItemFileMoving = 9
- SPEventReceiverType.FieldAdding = 101
- SPEventReceiverType.FieldUpdating = 102
- SPEventReceiverType.FieldDeleting = 103
- SPEventReceiverType.SiteDeleting = 201
- SPEventReceiverType.WebDeleting = 202
- SPEventReceiverType.WebMoving = 203
- SPEventReceiverType.ItemAdded = 10001
- SPEventReceiverType.ItemUpdated = 10002
- SPEventReceiverType.ItemDeleted = 10003
- SPEventReceiverType.ItemCheckedIn = 10004
- SPEventReceiverType.ItemCheckedOut = 10005
- SPEventReceiverType.ItemUncheckedOut = 10006
- SPEventReceiverType.ItemAttachmentAdded = 10007
- SPEventReceiverType.ItemAttachmentDeleted = 10008
- SPEventReceiverType.ItemFileMoved = 10009
- SPEventReceiverType.ItemFileConverted = 10010
- SPEventReceiverType.FieldAdded = 10101
- SPEventReceiverType.FieldUpdated = 10102
- SPEventReceiverType.FieldDeleted = 10103
- SPEventReceiverType.SiteDeleted = 10201
- SPEventReceiverType.WebDeleted = 10202
- SPEventReceiverType.WebMoved = 10203
- SPEventReceiverType.EmailReceived = 20000
- SPEventReceiverType.ContextEvent = 32766
- SPEventReceiverType.InvalidReceiver = -1
No comments:
Post a Comment