This project has moved and is read-only. For the latest updates, please go here.

Protected Properties/Methods

Topics: Developer Forum, User Forum
Jun 28, 2007 at 2:21 AM
Sorry if this is a simple question, but I haven't been able to find an answer yet, and I'm fairly new to Sandcastle and SHFB.

I want to include the protected methods that I have added code too (eg: Page_Load), but I don't want to include any of the protected properties (ie the ones auto generated by for each control).

So far I Only seem to be able to include both, or have none, by setting: "DocumentedProtected" to True.

Is this at all possible? and if so how do I do it?
Jun 28, 2007 at 3:24 AM
You can use the <exclude/> tag to exclude a property or method in the code. However, if it's auto-generated at compile time, there isn't currently a way to exclude it. The MRefBuilder tool has an option to exclude items which I plan on supporting. I hope to implement it within the next release or two.