Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the sub class name from the class
Message
De
29/01/2008 16:11:31
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Getting the sub class name from the class
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01286914
Message ID:
01286914
Vues:
60
Is there a way to get the sub class name from the class? I have a sub class named ListMember. This is inheriting from Framework.Framework.List class. At that level, I would like to detect the sub class name which is in this case defined as:
Public Class ListMember
    Inherits Framework.Framework.List
The reason for that is that each sub class of the List class is defined in a List.dbf record table and I now need, for certain lists, to be able to get the List table primary key when sub list is being executed. So, I thought, without having to add a property in the List class and to update all my sub classes to define that propety, that I would be able to rely on the sub class name instead which is also part of the List.dbf table as a field which I can use to locate the record.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform