public static string UnDecorateSymbolName(string name, UnDecorateFlags flags = UnDecorateFlags.NameOnly) { var sb = new StringBuilder(260); return(NativeMethods.UnDecorateSymbolName(name, sb, sb.Capacity, flags) ? sb.ToString() : name); }
public static extern int UnDecorateSymbolName( [In][MarshalAs(UnmanagedType.LPStr)] string DecoratedName, [Out] StringBuilder UnDecoratedName, [In][MarshalAs(UnmanagedType.U4)] int UndecoratedLength, [In][MarshalAs(UnmanagedType.U4)] UnDecorateFlags Flags);
public static extern bool UnDecorateSymbolName(string name, StringBuilder outputString, int maxStringLength, UnDecorateFlags flags);