public static void GetXMLString(ref string xmlStr, XmlHolder node) { unsafe { var str = XmlSDK.RapidXmlA_GetStringFromXML(node.CoreObject); xmlStr = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(str); XmlSDK.RapidXmlA_FreeString(str); } }
public static void GetXMLString(ref string xmlStr, XmlHolder node) { unsafe { var str = XmlSDK.RapidXmlA_GetStringFromXML(node.CoreObject); xmlStr = System.Runtime.InteropServices.Marshal.PtrToStringAnsi(str); XmlSDK.RapidXmlA_FreeString(str); } }