SampleClass.IncludeSectionsExample Method

Sandcastle XML Comments

Sandcastle XML Comments GuideSampleClassIncludeSectionsExample Method
In this example, the include element is used to pull in sections of the comments.

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
public void IncludeSectionsExample()
Public Sub IncludeSectionsExample
public:
void IncludeSectionsExample()
member IncludeSectionsExample : unit -> unit 
Remarks

As shown in these examples (see source code). Single and double quotes can be used on the XPath query when nested quotes are required. The key is to be consistent.

This pulls in a single paragraph element.

This paragraph was imported from an external XML file.

This pulls in a all the content of the element.

Paragraph 1

Paragraph 2

See Also