Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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