StringType.MidStmtStr(String, Int32, Int32, String) Metoda

Definice

Přepíše sDest parametr obsahem parametru sInsert .

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

public:
 static void MidStmtStr(System::String ^ % sDest, int StartPosition, int MaxInsertLength, System::String ^ sInsert);
public static void MidStmtStr(ref string? sDest, int StartPosition, int MaxInsertLength, string sInsert);
public static void MidStmtStr(ref string sDest, int StartPosition, int MaxInsertLength, string sInsert);
static member MidStmtStr : string * int * int * string -> unit
Public Shared Sub MidStmtStr (ByRef sDest As String, StartPosition As Integer, MaxInsertLength As Integer, sInsert As String)
Public Sub MidStmtStr (ByRef sDest As String, StartPosition As Integer, MaxInsertLength As Integer, sInsert As String)

Parametry

sDest
String

Required. Řetězcová proměnná, která se má upravit.

StartPosition
Int32

Required. Umístění v parametru sDest , ze které chcete začít přepisovat. Index je založený na 1.

MaxInsertLength
Int32

Required. Maximální počet znaků z parametru sInsert , který se má použít, počínaje prvním znakem.

sInsert
String

Required. Řetězcová hodnota pro přepsání parametru sDest .

Poznámky

Tato třída podporuje kompilátor jazyka Visual Basic a není určena k použití přímo z vašeho kódu.

Platí pro