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)

Syntax

Public Property Class As String
    Get
    Set

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 associated with the SPEventReceiverDefinition object. The string is 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