Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying a Class' Properties when assigned to an Object
Message
De
07/03/2007 02:07:39
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Displaying a Class' Properties when assigned to an Object
Divers
Thread ID:
01201355
Message ID:
01201355
Vues:
60
In VB 2005, the ListItem object of a Listview accepts an Object for its Tag property. I've using it to assign a User Class to add some needed functionality to the Listview controls I use, like so
e.g. ListView.Items(0).Tag = New clsSomeNeededPropertiesAndFunctions("sample")
Is it possible to show the Properties and Methods of that Class when I type a dot at the end of the Tag property?
e.g. ListView.Items(0).Tag.ThisIsMyClassProperty
Thanks much! Ü
evolve or die.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform