Share via


CodeDomEventBindingService Constructor

Initializes a new instance of CodeDomEventBindingService.

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

Syntax

'Declaration
Public Sub New ( _
    provider As IServiceProvider _
)
public CodeDomEventBindingService(
    IServiceProvider provider
)
public:
CodeDomEventBindingService(
    IServiceProvider^ provider
)
new : 
        provider:IServiceProvider -> CodeDomEventBindingService
public function CodeDomEventBindingService(
    provider : IServiceProvider
)

Parameters

Remarks

This constructor uses the service provider to match a code DOM provider and a window frame to the document data object. If there are multiple classes in the file, the event binding service will use the RootComponentClassName property as the name of the class.

.NET Framework Security

See Also

Reference

CodeDomEventBindingService Class

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