SPEventReceiverDefinition.Class property

Gets or sets a string that represents the class that is used for event receiving.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Class As String
    Get
    Set
'Usage
Dim instance As SPEventReceiverDefinition
Dim value As String

value = instance.Class

instance.Class = value
public string Class { get; set; }

Property value

Type: System.String
A string that contains the full name of the class in the format Namespace.Class.

Remarks

A class is basically a blueprint for a custom data type. After it is defined, it is associated with objects or instances. This property provides information about the definition that is specific to the event receiver object.

See also

Reference

SPEventReceiverDefinition class

SPEventReceiverDefinition members

Microsoft.SharePoint namespace

Other resources

Event Host Type