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 10:06:05
 
 
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:
01539795
Vues:
35
>>>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'
>
>I knew that one! I knew it! <g>

Too slow :-}

>
>Have a good weekend. I am expecting a good one myself, including this event all day tomorrow --
>
>http://www.wi-ineta.org/DesktopDefault.aspx?tabid=211

You attending ALL events ?
Potawatomi Bingo Casino ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform