Results 1 to 3 of 3

Thread: "System.Collections.IEnumerable" Gives you Object Collection Looping. What else?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    England
    Posts
    64

    "System.Collections.IEnumerable" Gives you Object Collection Looping. What else?

    Hi Guys,
    "System.Collections.IEnumerable" Gives you Object Collection Looping. What else?

    Set
    "System.Collections.IEnumerable"
    in a Collection clasee to get the following functionality

    For each ObjX in ObjXCollection
    MsgBox ObjX.Name
    Next ObjX

    ?? Is this the only functionality it gives u? What else do u guys use this for?

    Thanks
    Rag

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091

    Re: "System.Collections.IEnumerable" Gives you Object Collection Looping. What else?

    Nothing. The name says it all. The interface enables you to enumerate through the items in a collection.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    England
    Posts
    64

    Re: "System.Collections.IEnumerable" Gives you Object Collection Looping. What else?

    Coolio thx, the documentaion waffelled on a bit.
    Always good to hear what its actually used for at the shopfloor level!

    thx mate

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