XML comment block must immediately precede the language element to which it applies

XML comment block must immediately precede the language element to which it applies. XML comment will be ignored.

This error will also occur if a tag is misplaced or otherwise malformed.

Error ID: BC42300

To correct this error

  1. Move the comment block to precede the language element to which it applies. Make sure that extraneous characters have not been accidentally inserted before the initial tag.

  2. Make sure the tag is valid.

See Also

Tasks

How to: Create XML Documentation in Visual Basic

Reference

Recommended XML Tags for Documentation Comments (Visual Basic)