SPEventReceiverDefinition.Filter Property
Gets or sets the data that is associated with the filter for the event receiver.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property Filter As String
Get
Set
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As String
value = instance.Filter
instance.Filter = value
public string Filter { get; set; }
Property Value
Type: System.String
String that represents the filter for the SPListItem object.
Remarks
Event handlers are registered at the site or site collection level to implement filtering to respond to list item events. Filtering allows multiple rules to be applied in sequence to limit the size of a list or some other dimension of that list. They are specified in persistent storage as name-value pairs in the form of assignment statements.
See Also
Reference
SPEventReceiverDefinition Class
SPEventReceiverDefinition Members
Microsoft.SharePoint Namespace
Other Resources
Event Receivers Result Set
<filter> Element