IWebMatrixHost.WorkspaceChanged 이벤트
버전 2에 적용
현재 작업 영역이 바뀌면 발생합니다.
네임스페이스: Microsoft.WebMatrix.Extensibility
어셈블리: Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)
구문
‘선언
Event WorkspaceChanged As EventHandler(Of WorkspaceChangedEventArgs)
‘사용 방법
Dim instance As IWebMatrixHost
Dim handler As EventHandler(Of WorkspaceChangedEventArgs)
AddHandler instance.WorkspaceChanged, handler
event EventHandler<WorkspaceChangedEventArgs> WorkspaceChanged
event EventHandler<WorkspaceChangedEventArgs^>^ WorkspaceChanged {
void add (EventHandler<WorkspaceChangedEventArgs^>^ value);
void remove (EventHandler<WorkspaceChangedEventArgs^>^ value);
}
abstract WorkspaceChanged : IEvent<EventHandler<WorkspaceChangedEventArgs>,
WorkspaceChangedEventArgs>
JScript supports the use of events, but not the declaration of new ones.