using System; using System.Collections; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace SpeechLib { [ComImport] [DefaultMember("Item")] [TypeLibType(4160)] [Guid("9285B776-2E7B-4BC0-B53E-580EB6FA967F")] public interface ISpeechObjectTokens : IEnumerable { [DispId(1)] int Count { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(1)] get; } [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(0)] [return: MarshalAs(UnmanagedType.Interface)] SpObjectToken Item([In] int Index); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [TypeLibFunc(1)] [DispId(-4)] [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(EnumeratorToEnumVariantMarshaler))] new IEnumerator GetEnumerator(); } }