CodeDomEventBindingService Class

 
clsCompliantAlternativeNone

A service used to generate event-handling code.

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

System::Object
  System.ComponentModel.Design::EventBindingService
    Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom::CodeDomEventBindingService

[CLSCompliantAttribute(false)]
[SecurityCriticalAttribute]
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = "FullTrust")]
public ref class CodeDomEventBindingService abstract : EventBindingService

NameDescription
System_CAPS_pubmethodCodeDomEventBindingService(IServiceProvider^)

Initializes a new instance of CodeDomEventBindingService.

NameDescription
System_CAPS_protpropertyCodeDomAdapter

Gets the code DOM data adapter.

NameDescription
System_CAPS_protmethodCreateUniqueMethodName(IComponent^, EventDescriptor^)

Creates a unique method name for the event. (Overrides EventBindingService::CreateUniqueMethodName(IComponent^, EventDescriptor^).)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_protmethodFreeMethod(IComponent^, EventDescriptor^, String^)

Removes the specified method from the code if no event handlers are using it and it is empty.(Overrides EventBindingService::FreeMethod(IComponent^, EventDescriptor^, String^).)

System_CAPS_protmethodGetCompatibleMethods(EventDescriptor^)

Gets all the methods in the code DOM that are compatible with the specified event descriptor.(Overrides EventBindingService::GetCompatibleMethods(EventDescriptor^).)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetService(Type^)

(Inherited from EventBindingService.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodShowCode()

Displays the code in the document data in the editor window.(Overrides EventBindingService::ShowCode().)

System_CAPS_protmethodShowCode(IComponent^, EventDescriptor^, String^)

Shows the body of the user code with the given method name and event descriptor. (Overrides EventBindingService::ShowCode(IComponent^, EventDescriptor^, String^).)

System_CAPS_protmethodShowCode(Int32)

Displays the code at the specified line.(Overrides EventBindingService::ShowCode(Int32).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_protmethodUseMethod(IComponent^, EventDescriptor^, String^)

Creates the method declaration for the given method name and event descriptor.(Overrides EventBindingService::UseMethod(IComponent^, EventDescriptor^, String^).)

System_CAPS_protmethodValidateMethodName(String^)

Validates the name of the method.(Overrides EventBindingService::ValidateMethodName(String^).)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: