XElement.ReplaceAttributes Method
Replaces the attributes of this element with the specified content.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
ReplaceAttributes(Object) | Replaces the attributes of this element with the specified content. |
|
ReplaceAttributes(Object[]) | Replaces the attributes of this element with the specified content. |
This method will raise the Changed and the Changing events.
For more information about the valid content that can be passed to this function, see Valid Content of XElement and XDocument Objects in the .NET Framework documentation.