Results 1 to 2 of 2

Thread: Array Property

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2003
    Posts
    2

    Unhappy Array Property

    Sorry to get repetitive but I think I may have phrased my last question wrong.

    In my class I have the following property:

    Private oDetails() As BDetail

    What would by "Get" and "Let" look like? I think I might be on the wrong track.

    Thank you very much. I really do appreciate it.

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. Public Property Let Details(ByVal Index As Long, ByVal Value As BDetail)
    2.  
    3. End Property
    4. Public Property Get Details(ByVal Index As Long) As BDetail
    5.  
    6. End Property

    Like that, probably.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width