Property | Type | Description | |
---|---|---|---|
GetChildNodes | IEnumerable |
||
WrapXElements | IEnumerable |
Method | Description | |
---|---|---|
AddAttribute ( string localName, string value ) : |
Adds an attribute to the element
|
|
AddStyleClass ( string style ) : |
Applies a css class to the following element
|
|
AppendChild ( |
Appends a child Element after this one
|
|
AppendNonBreakingSpace ( ) : |
Appends a nonbreaking space to the current Element
|
|
AppendNonBreakingSpaceIfBlank ( ) : |
If the Element has no text then a element is appended
|
|
AppendSister ( |
||
AppendText ( string text ) : |
Appends some text to the Element
|
|
Element ( System.Xml.Linq.XElement element ) : System |
Constructs a new object of the ElemElementent type
|
|
Element ( string name ) : System |
Constructs a new object of the Element type
|
|
Equals ( object obj ) : bool |
Determines if another object equals this one
|
|
GetAttributeValue ( string attributeName ) : string |
Gets the value of an attribute of the Element
|
|
GetAttributeValue ( string attributeName, string namespaceName ) : string |
Gets the value of an attribute of the Element in the specified namespace
|
|
GetChildElements ( ) : IEnumerable |
Gets only the immediate child Element of the current one
|
|
GetChildElements ( string name ) : IEnumerable |
||
GetDescendantElements ( string name ) : IList |
Gets all of he descendant Element objects with a specific name
|
|
GetFirstChildElement ( string elementName ) : |
Gets the first child Element with the following name The document is searched in DOM document order
|
|
GetFirstDescendantNamed ( string name ) : |
Gets the first descendant that matches the name
|
|
GetHashCode ( ) : int |
Gets a hashcode of the object
|
|
GetRootElement ( ) : |
Gets the root element of the System.Xml.Linq.XDocument that this Element is contained within
|
|
IsNamed ( string name ) : bool |
Determines if the Element has a name like the parameter
|
|
MoveChildrenTo ( |
Moves all of the children of this Element to another element
|
|
PrependChild ( |
Prepends a child Element before this one
|
|
PrependText ( string text ) : void |
Adds some text to the first of the text of this Element>
|
|
SetId ( string id ) : |
Sets the id of the current element
|
|
ToXml ( ) : string |
Outputs the Element to a string as xml
|
Method | Description | |
---|---|---|
GetChildNodes ( ) : IEnumerable |
Gets all child System.Xml.Linq.XNode
|
|
WrapXElements ( IEnumerable |
public AddAttribute ( string localName, string value ) : |
||
localName | string | The name of the attribute |
value | string | The value of the attribute |
return |
public AddStyleClass ( string style ) : |
||
style | string | The name of the style to apply |
return |
public AppendNonBreakingSpaceIfBlank ( ) : |
||
return |
public AppendSister ( |
||
element | ||
return | void |
public Element ( System.Xml.Linq.XElement element ) : System | ||
element | System.Xml.Linq.XElement | The |
return | System |
public Element ( string name ) : System | ||
name | string | The name of the new Element |
return | System |
public GetAttributeValue ( string attributeName ) : string | ||
attributeName | string | The name of the attribute |
return | string |
public GetAttributeValue ( string attributeName, string namespaceName ) : string | ||
attributeName | string | The name of the attribute |
namespaceName | string | The name of the xml namespace |
return | string |
public GetChildElements ( string name ) : IEnumerable |
||
name | string | |
return | IEnumerable |
public GetDescendantElements ( string name ) : IList |
||
name | string | |
return | IList |
public GetFirstChildElement ( string elementName ) : |
||
elementName | string | |
return |
public GetFirstDescendantNamed ( string name ) : |
||
name | string | The name to find |
return |
public MoveChildrenTo ( |
||
destinationElement | ||
return | void |
public PrependChild ( |
||
child | ||
return |