Excluding Constructors from API Documentation

Topics: User Forum
Aug 15, 2014 at 10:10 PM
I don't need to document Constructors in the APIs - but I can't seem to get rid of them.

Using the VS 2013 SHFB project, I go to the Visibility item and then Edit API Filter.

It seems like I should be able to select the root Documented APIs, uncheck Constructors and click Close to be done with Constructors.

However, nothing seems to be saved. The message always reads "An API filter has not been defined"

Is there a place where I can configure this manually? Is something readonly that shouldn't be?


Aug 15, 2014 at 11:35 PM
If you're referring to the "Constructors" checkbox, that's just for searching (note the title on the group box that contains it). You need to uncheck everything but the "Constructors" and "Public" options, enter ".*" as the search text to match anything, and then click Search to find all public constructors. Select all of the found results in the list box and then click the Exclude button to exclude them.

Marked as answer by kjopc on 8/15/2014 at 8:42 PM
Aug 16, 2014 at 3:43 AM
Thanks Eric!