Home > Net >  Vb.net function and problems
Vb.net function and problems

Time:11-14


Public Class JZSJ
Public Property SJDX () As String
The Get
Return _SJDX
In the End Get
The Set value As a String ()
_SJDX=value
End the Set
End Property
The End of the Class
I defined in the class JZSJ SJDX,
Dim jzsj1 as new JZSJ
Can this jzsj1 object storage array? I need to write a return type is a function of the array, don't know what to call this function when need to pass a parameter of type, can someone explain?

CodePudding user response:

Public Class JZSJ
Private _SJDX () as string
Public Property SJDX () As String
The Get
Return _SJDX
In the End Get
The Set value As a String ()
_SJDX=value
End the Set
End Property
The End of the Class

CodePudding user response:

I need to write a function of the returned array, now don't know how to write function parameter