Inserts the specified string of characters and updates internal caret position.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Sub TypeChars ( _
s As String _
)
'使用
Dim instance As Completor
Dim s As String
instance.TypeChars(s)
public void TypeChars(
string s
)
public:
void TypeChars(
String^ s
)
public function TypeChars(
s : String
)
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.
Permissions
- 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.