SharePoint list and library event properties

Every time I work with event receivers in SharePoint, I keep going back to these two tables as a reference. So I thought I would post it here to make it easier for me (and you) to find.  

When trying to retrieve values from a list item in an event receiver, you sometimes need to get the values from the ListItem, sometimes the AfterProperties, sometimes the BeforeProperties. These tables show what each property should return for each type of event. 

List Events

Library Events

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.