PSConsoleReadLine.Insert Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Insert(Char) |
Insert a character at the current position. Supports undo. |
Insert(String) |
Insert a string at the current position. Supports undo. |
Insert(Char)
Insert a character at the current position. Supports undo.
public:
static void Insert(char c);
public:
static void Insert(char16 c);
static void Insert(char c);
public static void Insert (char c);
static member Insert : char -> unit
Public Shared Sub Insert (c As Char)
Parameters
- c
- Char
Character to insert
Applies to
Insert(String)
Insert a string at the current position. Supports undo.
public:
static void Insert(System::String ^ s);
public:
static void Insert(Platform::String ^ s);
static void Insert(std::wstring const & s);
public static void Insert (string s);
static member Insert : string -> unit
Public Shared Sub Insert (s As String)
Parameters
- s
- String
String to insert