VB.NET 1.1 Tutorial - Object Variable DeclarationIf you declare a variable with Object, it can use only the members of the Object class, unless you turn off the type-checking switch (Option Strict Statement). Dim variablename As Object Object is used often when passing variables into subroutines: ByVal sender As Object ReferencesFor more information on Object Variable Declaration, visit MSDN at microsoft here. What Next?Return to the Tutorial Contents. |