Zexor
Well-known member
- Joined
- Nov 28, 2008
- Messages
- 520
- Programming Experience
- 3-5
I have a private custom type, how do you do a gettype on it without changing it to public? do i need to declare a gettype inside the class? how do you do that?
VB.NET:
Private Class customType
Public Property A As String
Public Property B As String
Public Property C As String
Public Property D As String
Public Property E As Boolean
End Class
Dim XYZ as customType
Dim ser As New System.Xml.Serialization.XmlSerializer(XYZ.GetType)