다음을 통해 공유


WebSiteMiscEvents 인터페이스

VSWebSite 개체의 이벤트를 나타냅니다. 이 클래스를 사용하여 WebSiteMiscEventsClass에서 제공하는 기능에 액세스할 수 있습니다.

네임스페이스:  VsWebSite
어셈블리:  VsWebSite.Interop(VsWebSite.Interop.dll)

구문

‘선언
<GuidAttribute("9D9D4002-3258-4EBB-BF58-AF62C3890990")> _
Public Interface WebSiteMiscEvents _
    Inherits _WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
[GuidAttribute("9D9D4002-3258-4EBB-BF58-AF62C3890990")]
public interface WebSiteMiscEvents : _WebSiteMiscEvents, 
    _dispWebSiteMiscEvents_Event
[GuidAttribute(L"9D9D4002-3258-4EBB-BF58-AF62C3890990")]
public interface class WebSiteMiscEvents : _WebSiteMiscEvents, 
    _dispWebSiteMiscEvents_Event
[<GuidAttribute("9D9D4002-3258-4EBB-BF58-AF62C3890990")>]
type WebSiteMiscEvents =  
    interface 
        interface _WebSiteMiscEvents 
        interface _dispWebSiteMiscEvents_Event 
    end
public interface WebSiteMiscEvents extends _WebSiteMiscEvents, _dispWebSiteMiscEvents_Event

WebSiteMiscEvents 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 add_OnAfterFolderRefresh 인프라입니다. 이 메서드는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다. (_dispWebSiteMiscEvents_Event에서 상속됨)
Public 메서드 add_OnBeforeFolderRefresh 인프라입니다. 이 메서드는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다. (_dispWebSiteMiscEvents_Event에서 상속됨)
Public 메서드 remove_OnAfterFolderRefresh 인프라입니다. 이 메서드는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다. (_dispWebSiteMiscEvents_Event에서 상속됨)
Public 메서드 remove_OnBeforeFolderRefresh 인프라입니다. 이 메서드는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다. (_dispWebSiteMiscEvents_Event에서 상속됨)

위쪽

이벤트

  이름 설명
Public 이벤트 OnAfterFolderRefresh 인프라입니다. 이 이벤트는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다. (_dispWebSiteMiscEvents_Event에서 상속됨)
Public 이벤트 OnBeforeFolderRefresh 인프라입니다. 이 이벤트는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다. (_dispWebSiteMiscEvents_Event에서 상속됨)

위쪽

설명

WebSiteMiscEvents 속성을 사용하여 WebSiteMiscEventsClass 개체에 대한 이 인터페이스를 가져올 수 있습니다.

참고

이 클래스가 제공하는 기능은 Visual Studio 2005으로 시작하는 Visual Studio 버전에서 사용할 수 있습니다.Visual Web Developer Express 에디션에서는 이 기능을 사용할 수 없습니다.

예제

다음 매크로 코드 예제에서는 개발 도구 확장성(DTE) 개체를 통해 현재 VSWebSite 개체에 대한 참조를 만드는 방법 및 이벤트에 등록하는 방법을 보여 줍니다. 이 샘플은 VSWebSiteEvents에 대한 보다 큰 코드 예제의 일부입니다.

' Initialize the VsWebSite and the Events
Sub InitAssemblyRefsEvents()
    ' Get a reference to the first Web site 
    ' in the current solution
    Dim ws As VsWebSite.VSWebSite = _
        DTE.Solution.Projects.Item(1).Object

    ' Attach the Web site events to module events
    AssemblyRefsEvents = _
        ws.VSWebSiteEvents.AssemblyReferencesEvents
End Sub
' Declare the event
' The macro IDE requires the attribute 
' in order to trap the events
<System.ContextStaticAttribute()> _
Public WithEvents MiscEvents As _
    VsWebSite.WebSiteMiscEvents

참고 항목

참조

VsWebSite 네임스페이스

DTE

VSWebSite

VSWebSiteEvents

VSWebSiteEvents

WebSiteMiscEvents

WebSiteMiscEventsClass

기타 리소스

자동화 어셈블리 및 DTE2 개체 참조

방법: 매크로에서 이벤트 처리