Condividi tramite


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

'Dichiarazione
Public Sub New ( _
    provider As IServiceProvider _
)
'Utilizzo
Dim provider As IServiceProvider

Dim instance As New CodeDomEventBindingService(provider)
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

CodeDomEventBindingService Members

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