Metoda CodeDomEventBindingService.CreateUniqueMethodName —
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 nazwę metody unikatowe dla zdarzenia.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Zestaw: Microsoft.VisualStudio.Shell.Design (w Microsoft.VisualStudio.Shell.Design.dll)
Składnia
'Deklaracja
Protected Overrides Function CreateUniqueMethodName ( _
component As IComponent, _
e As EventDescriptor _
) As String
protected override string CreateUniqueMethodName(
IComponent component,
EventDescriptor e
)
Parametry
- component
Typ: System.ComponentModel.IComponent
IComponent .
Wartość zwracana
Typ: System.String
Unikatowa nazwa.
Zobacz też
Informacje
CodeDomEventBindingService Klasa
Przestrzeń nazw Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom