StringType.MidStmtStr(String, Int32, Int32, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
用參數的內容sInsert覆蓋該sDest參數。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
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);
static member MidStmtStr : string * int * int * string -> unit
Public Sub MidStmtStr (ByRef sDest As String, StartPosition As Integer, MaxInsertLength As Integer, sInsert As String)
Public Shared Sub MidStmtStr (ByRef sDest As String, StartPosition As Integer, MaxInsertLength As Integer, sInsert As String)
參數
- sDest
- String
必須的。 修改字串變數。
- StartPosition
- Int32
必須的。 參數中 sDest 開始覆寫的位置。 該指數以1為基礎。
- MaxInsertLength
- Int32
必須的。 從參數中可使用的最大字 sInsert 元數,從第一個字元開始計算。
- sInsert
- String
必須的。 用字串值覆蓋 sDest 參數。
備註
這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。