I have two vb.net class:
Public MustInherit Class Class1
Private m_sProperty1 As String = ""
Public Property sProperty1() As String
Get
Return m_sProperty1
End Get
Set(ByVal value As String)
m_sProperty1 = value
End Set
End Property
End Class
<ComClass("classid","interfaceid","eventid")> _
Public Class Class2
Inherits Class1
Private m_sProperty2 As String = ""
Public Property sProperty2() As String
Get
Return m_sProperty2
End Get
Set(ByVal value As String)
m_sProperty2 = value
End Set
End Property
End Class
When I reference the compiled DLL through VB6, Class2 only exposes sProperty2. How can I access the inherited property of the base class (sProperty1) through COM?