DocumentationSet.AllowXmlElement Method

Adds an XML element names (e.g. "b" for "<b>") that is allowed within XML comment sections; elements not listed are still allowed but a warning is generated, since such an element may be a mistake (e.g. "<r>" mistyped).

Parent Type: DocumentationSet

Namespace: DwellNet.CodeDoc

Assembly: CodeDocApi.dll

Syntax
C#

public void AllowXmlElement (
string elementName

)

Parameters

elementName

The XML element name; for example "b".

Remarks

The <AllowedXmlElements> section of the CodeDoc XML project file contains allowed XML element names.

See Also

DocumentationSet.ClearAllowedXmlElements Method