Completor.TypeChars Method
Inserts the specified string of characters and updates internal caret position.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'Декларация
Public Sub TypeChars ( _
s As String _
)
public void TypeChars(
string s
)
Parameters
- s
Type: System.String
[in] A string containing the characters to insert.
Remarks
The string can contain any character, including control characters such as newlines.
If macro recording is active, the specified string is added to the macro.
The internal caret position is incremented by the length of the string, regardless of what is in the string.
.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.