예제 #1
0
 /// <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;
 }
예제 #2
0
 /// <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);
 }