Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public property only available in its own DLL
Message
De
30/03/2012 09:45:01
 
 
À
30/03/2012 09:11:31
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01539778
Message ID:
01539783
Vues:
45
This message has been marked as the solution to the initial question of the thread.
>Is there a way to define a public property of a class to only be avaiable in its own DLL? Basically, some of them, I do not want to expose them in the application level, which includes the Framework.dll in the References. So, when someone establishes an object reference to a class of the framework, I only want to expose some properties that are public and not all of them.

In C# the internal modifier will scope visibility to the assembly in which the property is declared.
Isn't the VB.NET equivalent 'Friend'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform