/// <summary> /// Given an IEnumVariant interface, this method jumps to a specific /// item in the collection and extracts the result for that one item. /// </summary> private unsafe static bool GotoItem(OleAut32.IEnumVariant iev, int index, IntPtr variantPtr) { uint celtFetched = 0; iev.Reset(); iev.Skip((uint)index); iev.Next(1, variantPtr, &celtFetched); return(celtFetched == 1); }
HRESULT OleAut32.IEnumVariant.Reset() => publicIEnumVariant.Reset();