Muokkaa

Jaa


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

Definition

Overwrites the sDest parameter with the contents of the sInsert parameter.

This API supports the product infrastructure and is not intended to be used directly from your code.

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)

Parameters

sDest
String

Required. String variable to modify.

StartPosition
Int32

Required. Location in the sDest parameter to begin overwriting from. The index is 1-based.

MaxInsertLength
Int32

Required. Maximum number of characters from the sInsert parameter to use, starting from the first character.

sInsert
String

Required. String value to overwrite the sDest parameter with.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to