lundi 29 août 2016

Class array as property of other class

I have a class, Account, with properties such as AccountID, Name, etc. One of its properties is Contacts() which is an array of Contact class. So it looks something like this:

Code:
  'Account class
Sub Class_Globals
Public AccountID As Int
Public Name As String
Public Contacts() As Contact
End Sub
The Contact class contains typical FirstName, LastName, EmailAddress, etc, field. In my object model, an Account can have a variable number of Contacts.

So when I create a new...

Class array as property of other class

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2bvI7Yp
via IFTTT

Aucun commentaire:

Enregistrer un commentaire