次の方法で共有


SPFeatureDefinition.ReceiverClass property

Gets the fully qualified, case-sensitive name of the class that handles events for this Feature.

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

Syntax

'Declaration
Public ReadOnly Property ReceiverClass As String
    Get
'Usage
Dim instance As SPFeatureDefinition
Dim value As String

value = instance.ReceiverClass
public string ReceiverClass { get; }

Property value

Type: System.String
A string containing the name of the class, for example, Microsoft.SharePoint.WikiWelcome.

Remarks

State-change callbacks for features might include items such as updating the type of context, or adding a field.

See also

Reference

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace

SPEventReceiverDefinition

Other resources

Feature Event Receiver