TextBox.Paste(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將選取的文字設定為指定的文字,且不清除復原緩衝區。
public:
void Paste(System::String ^ text);
public void Paste(string text);
public void Paste(string? text);
override this.Paste : string -> unit
Public Sub Paste (text As String)
參數
- text
- String
要替換的文字。
備註
與設定 SelectedText不同, Paste 不會影響剪貼簿。