mscorlib(4.0.0.0) API with additions
IEnumString.cs
2 {
4  [ComImport]
5  [Guid("00000101-0000-0000-C000-000000000046")]
6  [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
7  [__DynamicallyInvokable]
8  public interface IEnumString
9  {
16  [PreserveSig]
17  int Next(int celt, [Out] [MarshalAs(UnmanagedType.LPArray, ArraySubType = UnmanagedType.LPWStr, SizeParamIndex = 0)] string[] rgelt, IntPtr pceltFetched);
18 
23  [PreserveSig]
24  [__DynamicallyInvokable]
25  int Skip(int celt);
26 
28  [__DynamicallyInvokable]
29  void Reset();
30 
33  [__DynamicallyInvokable]
34  void Clone(out IEnumString ppenum);
35  }
36 }
void Clone(out IEnumString ppenum)
Creates a new enumerator that contains the same enumeration state as the current one.
int Skip(int celt)
Skips a specified number of items in the enumeration sequence.
UnmanagedType
Identifies how to marshal parameters or fields to unmanaged code.
Definition: UnmanagedType.cs:7
void Reset()
Resets the enumeration sequence to the beginning.
A platform-specific type that is used to represent a pointer or a handle.
Definition: IntPtr.cs:14
int Next(int celt, [Out] [MarshalAs(UnmanagedType.LPArray, ArraySubType=UnmanagedType.LPWStr, SizeParamIndex=0)] string[] rgelt, IntPtr pceltFetched)
Retrieves a specified number of items in the enumeration sequence.
ComInterfaceType
Identifies how to expose an interface to COM.
Manages the definition of the IEnumString interface.
Definition: IEnumString.cs:8