Compartir a través de


CodeDomEventBindingService.UseMethod 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 the method declaration for the given method name and event descriptor.

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

Syntax

'Declaration
Protected Overrides Sub UseMethod ( _
    component As IComponent, _
    e As EventDescriptor, _
    methodName As String _
)
protected override void UseMethod(
    IComponent component,
    EventDescriptor e,
    string methodName
)
protected:
virtual void UseMethod(
    IComponent^ component, 
    EventDescriptor^ e, 
    String^ methodName
) override
abstract UseMethod : 
        component:IComponent * 
        e:EventDescriptor * 
        methodName:string -> unit  
override UseMethod : 
        component:IComponent * 
        e:EventDescriptor * 
        methodName:string -> unit
protected override function UseMethod(
    component : IComponent, 
    e : EventDescriptor, 
    methodName : String
)

Parameters

  • methodName
    Type: String

    The name of the method.

See Also

Reference

CodeDomEventBindingService Class

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