<PackageReference Include="System.Xml.XmlDocument" Version="4.0.1-beta-23409" />

XmlProcessingInstruction

Represents a processing instruction, which XML defines to keep processor-specific information in the text of the document.
public string Data { get; set; }

Gets or sets the content of the processing instruction, excluding the target.

public string Target { get; }

Gets the target of the processing instruction.