IVsTextMacroHelper.RecordTypeChar Method
Records typing a character.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
声明
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
- wchChar
Type: System.UInt16
The typed character.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.