Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hidden Property and Method
Message
De
30/06/2003 20:44:25
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Hidden Property and Method
Divers
Thread ID:
00805531
Message ID:
00805531
Vues:
62
Hi,

I want to know how I can have a class property or method which cannot be seen by using any VFP or .NET tools including debugger or functions like amembers(). However, the same property or method can be used anywhere in an application. I have tried to use the Hidden property but it has the following limitations/issues:

- the hidden property can be seen in the Watch window with the value being hidden
- the Intellisense feature will show the hidden property
- the hidden property cannot be used outside the object

Let's say that I have a class myclass with a property secretid. I want to able to assign value to it and use it anywhere in an application. However, I don't want anyone to know the existence of the property.


Thank you.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform