https://learn.microsoft.com/en-us/dotnet/api/system.directoryservices.protocols.extendedrequest.toxmlnode?view=netframework-4.8.1&viewFallbackFrom=net-10.0-pp
ExtendedRequest.ToXmlNode(XmlDocument) Method (System.DirectoryServices.Protocols) | Microsoft Learn
The ToXmlNode(XmlDocument) method creates an XML node from the specified XmlDocument object.
xmldocumentmethodsystemprotocolsmicrosoft