Compartir a través de


CodeDomEventBindingService.CreateUniqueMethodName Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Creates a unique method name for the event.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Protected Overrides Function CreateUniqueMethodName ( _
    component As IComponent, _
    e As EventDescriptor _
) As String
protected override string CreateUniqueMethodName(
    IComponent component,
    EventDescriptor e
)
protected:
virtual String^ CreateUniqueMethodName(
    IComponent^ component, 
    EventDescriptor^ e
) override
abstract CreateUniqueMethodName : 
        component:IComponent * 
        e:EventDescriptor -> string  
override CreateUniqueMethodName : 
        component:IComponent * 
        e:EventDescriptor -> string
protected override function CreateUniqueMethodName(
    component : IComponent, 
    e : EventDescriptor
) : String

Parameters

Return Value

Type: String
The unique name.

See Also

Reference

CodeDomEventBindingService Class

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace