1 Replies - 2408 Views - Last Post: 13 August 2009 - 07:22 PM Rate Topic: -----

#1 xoops  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 81
  • Joined: 06-August 09

What default value type object in vb.net

Posted 13 August 2009 - 06:06 PM

i want to know what default value type object in vb.net...
I can't find type variant in vb.net. Many forum say type variant it change with type object...
Is This A Good Question/Topic? 0
  • +

Replies To: What default value type object in vb.net

#2 mark.bottomley  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 176
  • View blog
  • Posts: 990
  • Joined: 22-April 09

Re: What default value type object in vb.net

Posted 13 August 2009 - 07:22 PM

Object is the top of the inheritance tree - everything is an Object and then adds methods and data to that. You can assign anything to an Object type variable and cast it back with MyClassvariable = Typecast(<input object>, MyClassType)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1