Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1040245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:12:00+00:00 2026-05-16T15:12:00+00:00

Really hope someone can point me in the right direction as I have no

  • 0

Really hope someone can point me in the right direction as I have no hair left anymore…

I am developing a simple SDK using VB.NET in VS 2010 and I have a class (OuterClass) that is inheriting another class (InnerClass).

There are obviously properties and methods in the InnerClass that are accesible from the OuterClass.

How the heck can I hide from my potential end users that InnerClass even exists. I don’t want to hide the InnerClass internals just the fact that InnerClass is even there…

No matter what I try it is always visible in either the class viewer, debugger or editor.

I have tried the usual contenders:

<DebuggerBrowsable(DebuggerBrowsableState.Never)> _

and

<ComponentModel.EditorBrowsable(ComponentModel.EditorBrowsableState.Never)> _

Please can someone even just point me in the right direction. I have found a few things but they are all to do with C++ and they are just confusing the …. out of me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:12:00+00:00Added an answer on May 16, 2026 at 3:12 pm

    You could solve this problem with interfaces and a factory method.

    Public Interface IOuterClass
    
    End Interface
    
    
    Friend MustOverride InnerClass
    
    End Class
    
    
    Friend Class OuterClass
      Implements IOuterClass
      Inherits InnerClass
    
    End Class
    
    
    Public Class OuterClassFactory
    
      Public Shared Function Create() as IOuterClass
        Return New OuterClass()
      End Function
    
    End Class
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Really hope someone can help me or at least point me in the right
I'm almost losing it, i really hope someone can help me out! I'm using
I have a really hard time understanding routes and I hope someone can help
Really hope someone can help me as I'm a bit stuck :S I have
I really hope someone can shed some light on this problem, I have built
I have a very weird problem.. I really do hope someone has an answer
I really hope someone can advise on displaying a google map from a hidden
I think I'm stuck and I really hope someone can help me out here.
I really hope you can help out here. I'm creating a theme for a
I have a problem with the esmtp application that I really hope you help

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.