Condividi tramite


IVsTextMacroHelper.RecordTypeChar Method

Records typing a character.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function RecordTypeChar ( _
    wchChar As UShort, _
    fIsOvertype As Integer _
) As Integer
int RecordTypeChar(
    ushort wchChar,
    int fIsOvertype
)
int RecordTypeChar(
    unsigned short wchChar, 
    int fIsOvertype
)
abstract RecordTypeChar : 
        wchChar:uint16 * 
        fIsOvertype:int -> int
function RecordTypeChar(
    wchChar : ushort, 
    fIsOvertype : int
) : int

Parameters

  • fIsOvertype
    Type: System.Int32

    Flag indicating whether character was typed over an existing character (true) or inserted (false).

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMacroHelper::RecordTypeChar(OLECHAR wchChar, BOOL fIsOvertype);

.NET Framework Security

See Also

Reference

IVsTextMacroHelper Interface

Microsoft.VisualStudio.TextManager.Interop Namespace