次の方法で共有


TextRange2.PasteSpecial(MsoClipboardFormat) メソッド

定義

指定した形式でテキスト範囲をクリップボードの内容に置き換えます。 貼り付けが成功した場合、このメソッドは貼り付けたテキスト範囲を含むオブジェクトを返 TextRange2 します。

public:
 Microsoft::Office::Core::TextRange2 ^ PasteSpecial(Microsoft::Office::Core::MsoClipboardFormat Format);
public Microsoft.Office.Core.TextRange2 PasteSpecial (Microsoft.Office.Core.MsoClipboardFormat Format);
abstract member PasteSpecial : Microsoft.Office.Core.MsoClipboardFormat -> Microsoft.Office.Core.TextRange2
Public Function PasteSpecial (Format As MsoClipboardFormat) As TextRange2

パラメーター

Format
MsoClipboardFormat

クリップボードの内容が文書に挿入されるときの形式を指定します。

戻り値

TextRange2

適用対象