Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Property Array

Property Array

Scheduled Pinned Locked Moved Visual Basic
data-structuresquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MatthysDT
    wrote on last edited by
    #1

    Hi Is it possible to create a 2-dimensional property array? I have a property within my class, it's type is an enumerator within the same class. I would like to reference this property as an array. For instance If i say that WorldState(3,2) = isPossibleTrue then my property (WorldState) must execute the let/set command. If this is not possible, what alternatives do I have? Regards

    you can't forget something you never knew...
    "Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann

    A 1 Reply Last reply
    0
    • M MatthysDT

      Hi Is it possible to create a 2-dimensional property array? I have a property within my class, it's type is an enumerator within the same class. I would like to reference this property as an array. For instance If i say that WorldState(3,2) = isPossibleTrue then my property (WorldState) must execute the let/set command. If this is not possible, what alternatives do I have? Regards

      you can't forget something you never knew...
      "Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann

      A Offline
      A Offline
      Akhilesh Yadav
      wrote on last edited by
      #2

      Yes you can have .... make return type of property as two dimensional also in set section make parameter(value) of same as return type of property. hope it helps

      cheers, Akhilesh Yadav

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups