/// <summary> /// Makes the selection in object. /// </summary> /// <param name="rootb">The rootb.</param> /// <param name="li">The li.</param> /// <param name="fInstall">if set to <see langword="true"/> [install].</param> /// <returns></returns> public static IVwSelection MakeSelectionInObject(IVwRootBox rootb, CollectorEnv.LocationInfo li, bool fInstall) { if (rootb == null || li == null) return null; return rootb.MakeSelInObj(0, li.m_location.Length, li.m_location, li.m_tag, fInstall); }