<PackageReference Include="System.Xml.XDocument" Version="4.0.11-beta-23409" />

System.Xml.Linq.XProcessingInstruction

public class XProcessingInstruction : XNode
Represents an XML processing instruction.
public string Data { get; set; }

Gets or sets the string value of this processing instruction.

public string Target { get; set; }

Gets or sets a string containing the target application for this processing instruction.

public XProcessingInstruction(string target, string data)

Initializes a new instance of the XProcessingInstruction class.

Initializes a new instance of the XProcessingInstruction class.