XElement.ReplaceAttributes Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

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.

Overload List

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ReplaceAttributes(Object) Replaces the attributes of this element with the specified content.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ReplaceAttributes(array<Object[]) Replaces the attributes of this element with the specified content.

Top

Remarks

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.