/// <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();