Completor.TypeChar Method
Inserts the specified character and updates the internal caret position.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Declaration
Public Sub TypeChar ( _
ch As Char _
)
public void TypeChar(
char ch
)
public:
void TypeChar(
wchar_t ch
)
member TypeChar :
ch:char -> unit
public function TypeChar(
ch : char
)
Parameters
ch
Type: Char[in] The character to insert.
Remarks
The character entered here can be anything, including control characters such as newlines.
If macro recording is active, the specified character is added to the macro.
The internal caret position is incremented by 1, regardless of what was entered.
.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.