SPEventReceiverDefinitionCollection.HostType Property
Gets the type of object to which the event receiver definitions apply.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property HostType As SPEventHostType
Get
'Usage
Dim instance As SPEventReceiverDefinitionCollection
Dim value As SPEventHostType
value = instance.HostType
public SPEventHostType HostType { get; }
Property Value
Type: Microsoft.SharePoint.SPEventHostType
A SPEventHostType value that specifies the type of object that is the event host for this event receiver.
Remarks
The event host is an object, like an SPSite object or an SPWorkflow object, that processes events that are generated by user actions.
See Also
Reference
SPEventReceiverDefinitionCollection Class
SPEventReceiverDefinitionCollection Members