Skip to main content

XmlElementInfo Struct

Namespace: Roslynator.CSharp.Syntax

Assembly: Roslynator.CSharp.dll

Provides information about a XmlElementSyntax or XmlEmptyElementSyntax.

public readonly struct XmlElementInfo

Inheritance​

Object → ValueType → XmlElementInfo

Properties​

PropertySummary
ElementThe xml element.
HasAttributesDetermines whether the element has any attributes.
IsEmptyElementDetermines whether the element is SyntaxKind.XmlEmptyElement.
KindElement kind.
LocalNameLocal name of the element.
SuccessDetermines whether this struct was initialized with an actual syntax.

Methods​

MethodSummary
Equals(Object)(Inherited from ValueType)
GetHashCode()(Inherited from ValueType)
GetType()(Inherited from Object)
MemberwiseClone()(Inherited from Object)
ToString()(Inherited from ValueType)