2007-11-14

XContainer und XElement-Methoden

Operation

Methode

Klasse

Ändern (Update)

ReplaceNodes(object content);

ReplaceNodes(params object[] content);

XContainer

public void ReplaceAttributes(object content);

public void ReplaceAttributes(params object[] content);

XElement

ReplaceAll

SetElementValue

SetAttributeValue

Hinzufügen (Add)

Add(object content);

Add(params object[] content);

XContainer

AddFirst(object content);

AddFirst(params object[] content);

Löschen (Remove)

RemoveNodes();

RemoveAttributes();

XElement

RemoveAll();

No comments: