Name

IDispatchImplAttribute

Synopsis

There are multiple implementations of IDispatch available for you to expose dual interfaces and dispinterfaces to COM. Attach this attribute to a class or an assembly to specify which IDispatch implementation to use. If you apply this attribute to an assembly, it applies to all classes within that assembly. For a list of available IDispatch implementations, see IDispatchImplType.

Public NotInheritable Class IDispatchImplAttribute : Inherits Attribute
' Public Constructors
   Public Sub New( ByVal implType As IDispatchImplType) 
   Public Sub New( ByVal implType As Short) 
' Public Instance Properties
   Public ReadOnly Property Value As IDispatchImplType  
End Class

Hierarchy

System.ObjectSystem.Attribute IDispatchImplAttribute

Valid On

Assembly, 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.