using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Microsoft.Office.Interop.Word; [ComImport] [CompilerGenerated] [DefaultMember("Text")] [Guid("00020975-0000-0000-C000-000000000046")] [TypeIdentifier] public interface Selection { [DispId(0)] string Text { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(0)] [return: MarshalAs(UnmanagedType.BStr)] get; [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(0)] [param: In] [param: MarshalAs(UnmanagedType.BStr)] set; } void _VtblGap1_62(); [DispId(411)] InlineShapes InlineShapes { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(411)] [return: MarshalAs(UnmanagedType.Interface)] get; } void _VtblGap2_62(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(507)] void TypeText([In][MarshalAs(UnmanagedType.BStr)] string Text); void _VtblGap3_2(); [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] [DispId(512)] void TypeParagraph(); }