Metoda CodeDomEventBindingService.UseMethod —
Ten typ ma atrybut SecurityCriticalAttribute, który ogranicza możliwość użycia go do wewnętrznego użycia w programie .NET Framework na potrzeby biblioteki klas technologii Silverlight. Kod aplikacji, w którym jest używany dowolny element członkowski tego typu, powoduje powstanie wyjątku MethodAccessException.
[ZABEZPIECZENIA KRYTYCZNE]
Tworzy deklaracja metody dla danej metody deskryptora nazwę i zdarzeń.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Zestaw: Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)
Składnia
'Deklaracja
Protected Overrides Sub UseMethod ( _
component As IComponent, _
e As EventDescriptor, _
methodName As String _
)
protected override void UseMethod(
IComponent component,
EventDescriptor e,
string methodName
)
Parametry
- component
Typ: System.ComponentModel.IComponent
IComponent .
- methodName
Typ: System.String
Nazwa metody.
Zobacz też
Informacje
CodeDomEventBindingService Klasa
Przestrzeń nazw Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom