/// <summary> /// Initialize a new copy of a <see cref="FormatEnumerator"/> instance. /// </summary> /// <param name="formatEnumerator">The instance to copy</param> private FormatEnumerator(FormatEnumerator formatEnumerator) { _formats = formatEnumerator._formats; _current = formatEnumerator._current; }
/// <summary> /// Creates a new enumerator that contains the same enumeration state as the current enumerator. /// </summary> /// <param name="ppenum">When this method returns, contains a reference to the newly created enumerator.</param> public void Clone(out IEnumFORMATETC ppenum) { ppenum = new FormatEnumerator(this); }