This topic has not yet been rated - Rate this topic

SPEventReceiverDefinition.Data Property

Gets or sets the data that is associated with the receiver.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
public string Data { get; set; }

Property Value

Type: System.String
A string that contains the collection of key-value pairs that provide additional information for the event receiver.
Exception Condition
ArgumentException

Length of the string that contains the data is greater than 255 characters.

This property can be set to null. If the length of the string that contains the data is greater than 255 characters, an ArgumentException is thrown.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ