public static string GetOPLHeader(this IEntity e, ClilocLNG lng) { ObjectPropertyList opl = null; try { opl = GetOPL(e, true); if (opl != null) { return(opl.DecodePropertyListHeader(lng)); } return(String.Empty); } catch { return(String.Empty); } finally { if (opl != null) { opl.Release(); } } }