Udostępnij za pośrednictwem


Completor.TypeChars Method

Inserts the specified string of characters and updates internal caret position.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Sub TypeChars ( _
    s As String _
)
public void TypeChars(
    string s
)
public:
void TypeChars(
    String^ s
)
member TypeChars : 
        s:string -> unit 
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.

.NET Framework Security

See Also

Reference

Completor Class

Microsoft.VisualStudio.Package Namespace