Share via


DocumentEventsClass.DocumentOpening 이벤트

이 API는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

문서가 열리기 전에 발생합니다.

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

구문

‘선언
Public Overridable Event DocumentOpening As _dispDocumentEvents_DocumentOpeningEventHandler
public virtual event _dispDocumentEvents_DocumentOpeningEventHandler DocumentOpening
public:
virtual   event _dispDocumentEvents_DocumentOpeningEventHandler^ DocumentOpening {
    void add (_dispDocumentEvents_DocumentOpeningEventHandler^ value);
    void remove (_dispDocumentEvents_DocumentOpeningEventHandler^ value);
}
abstract DocumentOpening : IEvent<_dispDocumentEvents_DocumentOpeningEventHandler,
    EventArgs>
override DocumentOpening : IEvent<_dispDocumentEvents_DocumentOpeningEventHandler,
    EventArgs>
JScript에서는 이벤트를 지원하지 않습니다.

구현

_dispDocumentEvents_Event.DocumentOpening

예제

Public Sub DocumentEvents_DocumentOpening(ByVal DocumentPath As String, _
    ByVal [ReadOnly] As Boolean) Handles DocumentEvents.DocumentOpening
        MsgBox("test")
End Sub

.NET Framework 보안

참고 항목

참조

DocumentEventsClass 클래스

EnvDTE 네임스페이스