Skip to main content

SyntaxExtensions.Elements(DocumentationCommentTriviaSyntax, String) Method

Containing Type: SyntaxExtensions

Assembly: Roslynator.CSharp.dll

Gets a list of xml elements with the specified local name.

public static System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.CSharp.Syntax.XmlElementSyntax> Elements(this Microsoft.CodeAnalysis.CSharp.Syntax.DocumentationCommentTriviaSyntax documentationComment, string localName)

Parameters

documentationComment DocumentationCommentTriviaSyntax

localName String

Returns

IEnumerable<XmlElementSyntax>