Helper class for XML files (based on Linq to XML).
Declaration Syntax
C# | Visual Basic |
public static class XMLHelper
Public NotInheritable Class XMLHelper
Members
All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
GetAttributeValue(XElement, String) |
Returns the value of an attribute.
| |
GetAttributeValueGeneric<(Of <<'(T>)>>)(XElement, String) |
Returns the value of an attribute and converts it to the format
specified in the generic type.
| |
NewAttribute(String, Object) |
Returns a new attribute. If the value is null, the value is changed
to string.Empty (XAttribute doesn't support null values!).
|
Inheritance Hierarchy
Object | |
XMLHelper |