Hi
How do I make a class non-creatable out side the DLL it is in but still
allow it to be used a data type? I.e. In the example below I don’t want
Class2 to be New’ed outside this DLL.
Public Class Class1
Private moMyProperty As New Class2
Public ReadOnly Porperty MyProperty() As Class2
Get
Return moMyProperty
End Get
End Property
End Class
Public Class Class2
…
End Class
Many thanks.
Julia.