< Day Day Up > |
The ComClassAttribute attribute indicates that a class should be exposed as a COM coclass. Public ReadOnly Property ClassID() As String The ClassID property is the COM class ID of the class. Public ReadOnly Property EventID() As String The EventID property is the COM interface ID of the class's COM event interface. Public ReadOnly Property InterfaceID() As String The InterfaceID property is the COM interface ID of the class's default interface. Public Property InterfaceShadows() As Boolean The InterfaceShadows property indicates whether the COM interface name shadows another member of the class or base class. Public Sub New() Public Sub New(ByVal _ClassID As String) Public Sub New(ByVal _ClassID As String, ByVal _InterfaceID As String) Public Sub New(ByVal _ClassID As String, ByVal _InterfaceID As String, _ ByVal _EventID As String) The ComClassAttribute constructor applies an instance of the attribute to a class. If any of the three ID parameters are omitted, a compiler-generated GUID will be used in their place. |
< Day Day Up > |