How to Create a Property which Accepts Array of Values

  • Thread starter Thread starter Guest
  • Start date Start date
Prabhudhas Peter said:
I need a property which acts as an array...

\\\
Private m_UserNames() As String

Public Property UserNames() As String()
Get
Return m_UserNames
End Get
Set(ByVal Value() As String)
m_UserNames = Value
End Set
End Property
///
 
Dear Herfried K. Wagner
Thank u for ur reply...i'll try whether it solves my problem or no...
Thank you...
 

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

Back
Top