Results 1 to 3 of 3

Thread: How do i create ex obj.permission.count?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89

    How do i create ex obj.permission.count?

    I would like to be able to create a object with a property. Like obj.permissions but I would like to be able to say obj.Permissions.count . I do i create the count property for the permissions method? I want to be able to loop thru obj.Permissions and pass for ex 1 (obj.Permissions(1).) and get the text back..

    Does it make sense?

    Thanks.
    I forgot my password....

  2. #2
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    This is just a theory, but I think you need to create "Permissions"
    as a collection. Meaning that your permission object needs to
    inherit a collectionbase

    I know it may not be alot of help, but at least I hope it's a push in the right direction.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89
    thanks... I'll check it ou!
    I forgot my password....

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