Files
Dec2017-Script-Dump/mscorlib/System/Runtime/InteropServices/UCOMIEnumMoniker.cs
T
2026-06-04 11:42:34 +02:00

41 lines
2.0 KiB
C#

using System;
namespace System.Runtime.InteropServices
{
/// <summary>Use <see cref="T:System.Runtime.InteropServices.ComTypes.IEnumMoniker" /> instead.</summary>
// Token: 0x02000356 RID: 854
[Obsolete]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("00000102-0000-0000-c000-000000000046")]
[ComImport]
public interface UCOMIEnumMoniker
{
/// <summary>Retrieves a specified number of items in the enumeration sequence.</summary>
/// <returns>S_OK if the <paramref name="pceltFetched" /> parameter equals the <paramref name="celt" /> parameter; otherwise, S_FALSE.</returns>
/// <param name="celt">The number of monikers to return in <paramref name="rgelt" />. </param>
/// <param name="rgelt">On successful return, a reference to the enumerated monikers. </param>
/// <param name="pceltFetched">On successful return, a reference to the actual number of monikers enumerated in <paramref name="rgelt" />. </param>
// Token: 0x06002351 RID: 9041
[PreserveSig]
int Next(int celt, [MarshalAs(UnmanagedType.LPArray, SizeConst = 0, SizeParamIndex = 0)] [Out] UCOMIMoniker[] rgelt, out int pceltFetched);
/// <summary>Skips over a specified number of items in the enumeration sequence.</summary>
/// <returns>S_OK if the number of elements skipped equals the <paramref name="celt" /> parameter; otherwise, S_FALSE.</returns>
/// <param name="celt">The number of elements to skip in the enumeration. </param>
// Token: 0x06002352 RID: 9042
[PreserveSig]
int Skip(int celt);
/// <summary>Resets the enumeration sequence to the beginning.</summary>
/// <returns>An HRESULT with the value S_OK.</returns>
// Token: 0x06002353 RID: 9043
[PreserveSig]
int Reset();
/// <summary>Creates another enumerator that contains the same enumeration state as the current one.</summary>
/// <param name="ppenum">On successful return, a reference to the newly created enumerator. </param>
// Token: 0x06002354 RID: 9044
void Clone(out UCOMIEnumMoniker ppenum);
}
}