TopicTransformationExtensionsRemoveNamespaces Method
Remove namespaces from an element and all of its descendants including attributes
Namespace: Sandcastle.Core.PresentationStyle.TransformationAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static void RemoveNamespaces(
this XElement element
)
<ExtensionAttribute>
Public Shared Sub RemoveNamespaces (
element As XElement
)
public:
[ExtensionAttribute]
static void RemoveNamespaces(
XElement^ element
)
[<ExtensionAttribute>]
static member RemoveNamespaces :
element : XElement -> unit
- element XElement
- The element from which to remove namespaces
In Visual Basic and C#, you can call this method as an instance method on any object of type
XElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).