Extensions of
XElement
.
- Namespace
- Songhay
.Extensions - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["XElementExtensions"]
class Type type-node
Syntax
public static class XElementExtensions
Methods
Name | Return Value | Summary |
---|---|---|
AddOnce |
void |
Prevents the specified
XAttribute
from being added more than once.
static
|
GetElement |
XElement? |
Gets the
XElement .
static
|
HasElementName |
bool |
Determines whether the
XElement
has the specified XName .
static
|
HasElementName |
bool |
Determines whether the
XNode
has the specified XName .
static
|
IsElement |
bool |
Determines whether the specified node is
XElement .
static
|
To |
string |
Converts the
XElement into a attribute value or default.
static
|
To |
string |
Returns the attribute value or null.
static
|
To |
string |
Converts the
XElement into a element value or default.
static
|
ToElementValueOrNull |
string |
Returns the element value or null.
static
|
ToElementValueOrNull |
string |
Converts the
XElement into a element value or null.
static
|
WithoutNamespaces |
XElement? |
Returns the specified
XElement
without namespace qualifiers on elements and attributes.
static
|