XmlExtensions.

CreateChildElement(XElement, string, string, string, string) Method

Assembly
MagicChunks.dll
Namespace
MagicChunks.Helpers
Containing Type
XmlExtensions

Syntax

public static XElement CreateChildElement(this XElement source, string documentNamespace, string elementName, string attrName = null, string attrValue = null)

Parameters

Name Type Description
source XElement
documentNamespace string
elementName string
attrName string
attrValue string

Return Value

Type Description
XElement