-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTestObject.vb
More file actions
42 lines (39 loc) · 1.29 KB
/
TestObject.vb
File metadata and controls
42 lines (39 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Namespace DataImportExample
#Region "#testObject"
Friend Class TestObject
Public Sub New(ByVal intValue As Integer, ByVal value As String, ByVal boolValue As Boolean, ByVal imageValue() As Byte)
Me.intValue_Renamed = intValue
Me.Value = value
Me.BoolValue = boolValue
Me.ImageValue = imageValue
End Sub
Public Sub New(ByVal intValue As Integer, ByVal value As String, ByVal boolValue As Boolean, ByVal imageBase64 As String)
Me.intValue_Renamed = intValue
Me.Value = value
Me.BoolValue = boolValue
Me.ImageBase64 = imageBase64
End Sub
'INSTANT VB NOTE: The field intValue was renamed since Visual Basic does not allow fields to have the same name as other class members:
Public intValue_Renamed As Integer
Private ReadOnly Property privateValue() As Integer
Get
Return 123
End Get
End Property
Public ReadOnly Property IntValue() As Integer
Get
Return intValue_Renamed + privateValue - 123
End Get
End Property
Public Property Value() As String
Public Property BoolValue() As Boolean
Public Property ImageValue() As Byte()
Default Public ReadOnly Property Item(ByVal index As Integer) As Integer
Get
Return index
End Get
End Property
Public Property ImageBase64() As String
End Class
#End Region ' #testObject
End Namespace