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

  • Home
  • SEARCH
  • 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 128573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:39:25+00:00 2026-05-11T05:39:25+00:00

I am using Doxygen to generate documentation for our API, written in C#. However,

  • 0

I am using Doxygen to generate documentation for our API, written in C#. However, it exposes private/protected members. Is there a way to hide those?

I figured out how to hide files: EXCLUDE = List of file names

Yet, I need more granularity and thus shield users from unnecessary API noise. A sample Doxygen file would be appreciated as well as tips/tricks.

What tools do you use to generate API from the source code?

I feel somewhat left in the 18th century as I use Doxygen in C# by way of C++.

  • 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. 2026-05-11T05:39:26+00:00Added an answer on May 11, 2026 at 5:39 am

    I don’t know how well C# is supported by Doxygen.

    For hiding private members, you change Doxyfile configuration file as following:

    EXTRACT_PRIVATE        = YES 

    Many other options can be set for various kinds of extracting/hiding code elements, e.g., citing Doxyfile itself:

    # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in  # documentation are documented, even if no documentation was available.  # Private class members and static file members will be hidden unless  # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES  EXTRACT_ALL            = YES  # If the EXTRACT_PRIVATE tag is set to YES all private members of a class  # will be included in the documentation.  EXTRACT_PRIVATE        = YES  # If the EXTRACT_STATIC tag is set to YES all static members of a file  # will be included in the documentation.  EXTRACT_STATIC         = YES  # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)  # defined locally in source files will be included in the documentation. # If set to NO only classes defined in header files are included.  EXTRACT_LOCAL_CLASSES  = YES  # This flag is only useful for Objective-C code. When set to YES local # methods, which are defined in the implementation section but not in # the interface are included in the documentation. # If set to NO (the default) only methods in the interface are included.  EXTRACT_LOCAL_METHODS  = YES  # If this flag is set to YES, the members of anonymous namespaces will be # extracted and appear in the documentation as a namespace called # 'anonymous_namespace{file}', where file will be replaced with the base # name of the file that contains the anonymous namespace. By default # anonymous namespace are hidden.  EXTRACT_ANON_NSPACES   = NO  # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled.  HIDE_UNDOC_MEMBERS     = NO  # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these classes will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled.  HIDE_UNDOC_CLASSES     = NO  # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all # friend (class|struct|union) declarations. # If set to NO (the default) these declarations will be included in the # documentation.  HIDE_FRIEND_COMPOUNDS  = NO 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a project that I'm using Doxygen to generate documentation for. The documentation
I'm using Doxygen to generate documentation for my code. I need to make a
I am using doxygen to generate a PDF of my code documentation. The PDF
I am trying to use doxygen to generate documentation for some matlab classes I
I am creating internal documentation for a C++ project using Doxygen. I am having
The software group I currently work in has recently decided to start documenting our
At work we make pretty extensive use of Visio drawing as support for documentation.
I've recently began using C++ with XCode and I'm starting to miss the integrated
All classes of my library are defined within a namespace. When I create a

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.