共用方式為


IFeatureReceiver 介面

表示 SharePoint 中的功能接收器。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

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

IFeatureReceiver 型別會公開下列成員。

屬性

  名稱 說明
公用屬性 Assembly 取得或設定功能接收器的組件,這個組件會加入至含有這個 SharePoint 專案項目的功能。
公用屬性 ClassName 取得或設定功能接收器的類別,這個類別會加入至含有這個 SharePoint 專案項目的功能。
公用屬性 IsDisposed 取得是否已處置物件。 (繼承自 INotifyObjectDisposed)。
公用屬性 IsDisposing 取得是否正在處置物件。 (繼承自 INotifyObjectDisposing)。
公用屬性 ProjectItem 取得父專案項目的參考。

回頁首

事件

  名稱 說明
公用事件 Disposed 發生於處置物件時。 (繼承自 INotifyObjectDisposed)。
公用事件 Disposing 發生於正在處置物件時。 (繼承自 INotifyObjectDisposing)。
公用事件 PropertyChanged 發生於屬性值變更時。 (繼承自 INotifyPropertyChanged)。

回頁首

備註

功能接收者會處理與功能相關的事件,例如當加入、移除或變更功能時。

請參閱

參考

Microsoft.VisualStudio.SharePoint 命名空間