XmlExtensions.

CreateChildProcessingInstruction(XElement, string, string, string, string) Method

Assembly
MagicChunks.dll
Namespace
MagicChunks.Helpers
Containing Type
XmlExtensions

Syntax

public static XProcessingInstruction CreateChildProcessingInstruction(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
XProcessingInstruction