SampleClassParagraphExample Method

A simple demonstration of the para element.

Definition

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public int ParagraphExample()

Return Value

Int32
Always returns 0.

Remarks

The para element is optional if the text in the parent element consists of a single sentence or paragraph such as in the summary and returns elements on this method.

When multiple blocks of text are present, each must be wrapped in it to create new paragraphs.

Paragraph 1.

Paragraph 2.

Self-closing and empty paragraphs are ignored unless they create an initial paragraph break.

Paragraph 4.

HTML paragraph elements can also be used.

They work the same way.

See Also