Metoda DocumentEventsClass.add_DocumentOpened —
Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.
Microsoft tylko do użytku wewnętrznego.
Przestrzeń nazw: EnvDTE
Zestaw: EnvDTE (w EnvDTE.dll)
Składnia
'Deklaracja
Public Overridable Sub add_DocumentOpened ( _
A_1 As _dispDocumentEvents_DocumentOpenedEventHandler _
)
public virtual void add_DocumentOpened(
_dispDocumentEvents_DocumentOpenedEventHandler A_1
)
public:
virtual void add_DocumentOpened(
_dispDocumentEvents_DocumentOpenedEventHandler^ A_1
)
abstract add_DocumentOpened :
A_1:_dispDocumentEvents_DocumentOpenedEventHandler -> unit
override add_DocumentOpened :
A_1:_dispDocumentEvents_DocumentOpenedEventHandler -> unit
public function add_DocumentOpened(
A_1 : _dispDocumentEvents_DocumentOpenedEventHandler
)
Parametry
A_1
Typ: EnvDTE._dispDocumentEvents_DocumentOpenedEventHandlerObsługa zdarzeń.
Implementuje
_dispDocumentEvents_Event.add_DocumentOpened(_dispDocumentEvents_DocumentOpenedEventHandler)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.