Name
ComSourceInterfacesAttribute
Synopsis
This attribute indicates the unmanaged event (using the COM IConnectionPoint architecture) interfaces that are available on the decorated type. For each method defined in the COM interface, the type must provide a corresponding “event” instance that the COM architecture will plug into.
This attribute is only necessary when building .NET objects for plugging into COM event-aware systems, such as ActiveX control containers.
Public NotInheritable Class ComSourceInterfacesAttribute : Inherits Attribute ' Public Constructors Public Sub New( ByVal sourceInterfaces As String) Public Sub New( ByVal sourceInterface As Type) Public Sub New(ByVal sourceInterface1 As Type, ByVal sourceInterface2 As Type) Public Sub New(ByVal sourceInterface1 As Type, ByVal sourceInterface2 As Type, ByVal sourceInterface3 As Type) Public Sub New(ByVal sourceInterface1 As Type, ByVal sourceInterface2 As Type, ByVal sourceInterface3 As Type, ByVal sourceInterface4 As Type) ' Public Instance Properties Public ReadOnly Property Value As String End Class
Hierarchy
System.Object→System.Attribute→ ComSourceInterfacesAttribute
Valid On
Class
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.