XElementHelper Class

Namespace
Kampute.DocToolkit.Support
Assembly
  • Kampute.DocToolkit.dll

Definition

Provides extension methods for XElement instances.
public static class XElementHelper
Inheritance

Methods

HasAttribute(this XElement, string)Determines whether the element has an attribute with the specified name.
TryGetAttributeValue(this XElement, string, out string)Attempts to get the value of the attribute with the specified name.