Condividi tramite


IFeatureReceiver Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a feature receiver in SharePoint.

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

Syntax

'Declaration
Public Interface IFeatureReceiver _
    Inherits INotifyObjectDisposing, INotifyObjectDisposed, INotifyPropertyChanged
public interface IFeatureReceiver : INotifyObjectDisposing, 
    INotifyObjectDisposed, INotifyPropertyChanged

The IFeatureReceiver type exposes the following members.

Properties

  Name Description
Public property Assembly Gets or sets the assembly of the feature receiver that is added to the feature that includes this SharePoint project item.
Public property ClassName Gets or sets the class of the feature receiver that is added to the feature that includes this SharePoint project item.
Public property IsDisposed Gets whether the an object is disposed. (Inherited from INotifyObjectDisposed.)
Public property IsDisposing Gets whether an object is disposing. (Inherited from INotifyObjectDisposing.)
Public property ProjectItem Gets a reference to the parent project item.

Top

Events

  Name Description
Public event Disposed Occurs when an object is disposed. (Inherited from INotifyObjectDisposed.)
Public event Disposing Occurs when an object is being disposed. (Inherited from INotifyObjectDisposing.)
Public event PropertyChanged Occurs when a property value changes. (Inherited from INotifyPropertyChanged.)

Top

Remarks

Feature receivers handle events related to features, such as when a feature is added, removed, or changed.

See Also

Reference

Microsoft.VisualStudio.SharePoint Namespace