共用方式為


SPFeatureReceiverProperties Class

Represents the properties of a Feature installation, uninstallation, activation, or deactivation event.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPFeatureReceiverProperties

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

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPFeatureReceiverProperties

Dim instance As SPFeatureReceiverProperties
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPFeatureReceiverProperties

Remarks

The SPFeatureReceiverProperties class provides access to event properties, such as the Feature instance that has been created, the Feature definition, or the parent object of the Feature, for example, an SPWeb object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPFeatureReceiverProperties Members

Microsoft.SharePoint Namespace