EventReceiverUtility.RunItemEventReceiverProps method
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Shared Function RunItemEventReceiverProps ( _
eventReceiverName As String, _
properties As SPItemEventProperties, _
codeToRun As EventReceiverUtility.ItemEventReceiverCodeToRunProps _
) As Boolean
'Usage
Dim eventReceiverName As String
Dim properties As SPItemEventProperties
Dim codeToRun As EventReceiverUtility.ItemEventReceiverCodeToRunProps
Dim returnValue As Boolean
returnValue = EventReceiverUtility.RunItemEventReceiverProps(eventReceiverName, _
properties, codeToRun)
public static bool RunItemEventReceiverProps(
string eventReceiverName,
SPItemEventProperties properties,
EventReceiverUtility.ItemEventReceiverCodeToRunProps codeToRun
)
Parameters
- eventReceiverName
Type: System.String
- properties
Type: Microsoft.SharePoint.SPItemEventProperties
- codeToRun
Type: Microsoft.Office.Server.Utilities.EventReceiverUtility.ItemEventReceiverCodeToRunProps
Return value
Type: System.Boolean