Partager via


TextRange2.PasteSpecial(MsoClipboardFormat) Méthode

Définition

Remplace la plage de texte par le contenu du Presse-papiers au format spécifié. Si le collage réussit, cette méthode renvoie un TextRange2 objet incluant la plage de texte qui a été collée.

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

Paramètres

Format
MsoClipboardFormat

Détermine le format du contenu du Presse-papiers lorsqu'il est inséré dans le document.

Retours

TextRange2

S’applique à