共用方式為


VSProjectEvents2 介面

擴充 VSProjectEvents 類別。 新類別會提供對某些 Web 參考事件的存取。

命名空間:  VSLangProj80
組件:  VSLangProj80 (在 VSLangProj80.dll 中)

語法

'宣告
<GuidAttribute("6DCBC5A7-37BF-461C-958F-A81DA10D242E")> _
Public Interface VSProjectEvents2 _
    Inherits VSProjectEvents
[GuidAttribute("6DCBC5A7-37BF-461C-958F-A81DA10D242E")]
public interface VSProjectEvents2 : VSProjectEvents
[GuidAttribute(L"6DCBC5A7-37BF-461C-958F-A81DA10D242E")]
public interface class VSProjectEvents2 : VSProjectEvents
[<GuidAttribute("6DCBC5A7-37BF-461C-958F-A81DA10D242E")>]
type VSProjectEvents2 =  
    interface 
        interface VSProjectEvents 
    end
public interface VSProjectEvents2 extends VSProjectEvents

VSProjectEvents2 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 BuildManagerEvents 取得可用來存取 BuildManager 事件的 BuildManagerEvents 物件。
公用屬性 ImportsEvents 取得可用來存取 Imports 物件事件的 ImportsEvents 物件。
公用屬性 ReferencesEvents 取得可用來存取 References 集合事件的 ReferencesEvents 物件。
公用屬性 VSLangProjWebReferencesEvents 取得可用來存取 Web 參考事件的 VSLangProjWebReferencesEvents 物件。

回頁首

備註

這個物件提供對 Visual Basic 或 Visual C# 專案的 Web 參考事件的程式設計存取。

範例

請參閱 Events

請參閱

參考

VSLangProj80 命名空間

VSProjectEvents