Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2004

Tip: Looking for answers? Try searching our database.

Accessibility levels between projects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ASP Yaboh - 07 Sep 2004 18:27 GMT
I have a solution with four distinct projects. I have found that methods in a
class in one project are not accessible to another project's classes unless
they are set as "public". This definitely does not seem right. What do I need
to do to make accessibility more restricted?

I am new to VS.Net and using 2003.

Thank you
Jose Marcenaro - 07 Sep 2004 18:43 GMT
Inside each project, you can label a class or method as "internal" to
restrict access to the current project only.
The "solution" is only a bunch of projects viewed together on the IDE, and
does not constitute a "super project" for which you can define "solution
level" classes or members.

Regards
Jose Marcenaro

> I have a solution with four distinct projects. I have found that methods in a
> class in one project are not accessible to another project's classes unless
[quoted text clipped - 4 lines]
>
> Thank you

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.