public static IntPtr Box_Uri(Uri val) { IntPtr ret = NoesisGUI_PINVOKE.Box_Uri(val != null ? UriHelper.GetPath(val) : string.Empty); return(ret); }