How can I pass nothing into a constructor as PropertyDescriptor
Visual Basic
3
Posts
2
Posters
0
Views
1
Watching
-
-
Hi, I was wondering if anyone could help me pass "nothing" into a class constructor from the default constructor eg.
Public Sub New() MyClass.New(Nothing) End Sub Public Sub New(ByVal prop As PropertyDescriptor) MyBase.New(prop) End Sub
Thank you eatworkPublic Sub New()
MyClass.New(DirectCast(Nothing, PropertyDescriptor))
End Sub -
Public Sub New()
MyClass.New(DirectCast(Nothing, PropertyDescriptor))
End Sub