Use of ArrayList as a param to a function

M

Mark A. Deal

I'm having a tough time understanding this and hope that somebody can point
me in the right direction.

I am developing a web service and providing an interface such as:

Public Function AcceptRequest(byVal MyParties as Parties)

Parties needs to be defined as a collection of PartyRecords

PartyRecords is defined as such:

Public Class PartyRecord
Private FLast as String
Private FFirst as String
Public Property Last as String
Get
Return FLast
Set (byVal Value as String)
FLast = String
End Set
End Property

Public Property First as String
Get
Return FFirst
Set (byVal Value as String)
FFirst = String
End Set
End Property

My question is: How do I define Parties as a collection of PartyRecords?

I know that this is simple, but I cannot figure it out!

TIA

--
Mark A. Deal
Document & Data Solutions, LLC
http://www.docsol.com
Time Matters AIC
HotDocs Certified Consultant
GhostFill Certified Consultant
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top