Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public property only available in its own DLL
Message
From
30/03/2012 09:45:01
 
 
To
30/03/2012 09:11:31
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01539778
Message ID:
01539783
Views:
44
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'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform