Example #1
0
        private void TestClone()
        {
            int      hr = 0;
            ILocator newObj;

            hr = locator.Clone(out newObj);
            DsError.ThrowExceptionForHR(hr);

            Debug.Assert((newObj != null), "ILocator.Clone");

            Marshal.ReleaseComObject(newObj);
        }