StringType.MidStmtStr(String, Int32, Int32, String) 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om