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
- provider
Type: System.IServiceProvider
IServiceProvider.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CodeDomEventBindingService Class
CodeDomEventBindingService Members
Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace