Udostępnij przez


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

Definicja

sDest Zastępuje parametr zawartością parametrusInsert.

Ten interfejs API obsługuje infrastrukturę produktu i nie jest przeznaczony do użycia bezpośrednio z poziomu kodu.

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

Wymagane. Zmienna ciągu do zmodyfikowania.

StartPosition
Int32

Wymagane. Lokalizacja w parametrze , sDest aby rozpocząć zastępowanie od. Indeks jest oparty na 1.

MaxInsertLength
Int32

Wymagane. Maksymalna liczba znaków z parametru sInsert do użycia, począwszy od pierwszego znaku.

sInsert
String

Wymagane. Wartość ciągu do zastąpienia parametru sDest za pomocą .

Uwagi

Ta klasa obsługuje kompilator Języka Visual Basic i nie jest przeznaczona do użycia bezpośrednio z poziomu kodu.

Dotyczy