Freigeben über


VsTextViewClass.GetSelectionDataObject-Methode

Gibt eine Kopie des markierten Texts in IDataObject-Schnittstellen Format zurück.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function GetSelectionDataObject ( _
    <OutAttribute> ByRef ppIDataObject As IDataObject _
) As Integer
public virtual int GetSelectionDataObject(
    out IDataObject ppIDataObject
)
public:
virtual int GetSelectionDataObject(
    [OutAttribute] IDataObject^% ppIDataObject
)
abstract GetSelectionDataObject : 
        ppIDataObject:IDataObject byref -> int  
override GetSelectionDataObject : 
        ppIDataObject:IDataObject byref -> int
public function GetSelectionDataObject(
    ppIDataObject : IDataObject
) : int

Parameter

  • ppIDataObject
    Typ: IDataObject%

    [out] Zeiger auf einen IDataObject-Objekt, das den markierten Text enthält.

Rückgabewert

Typ: Int32

Implementiert

IVsTextView.GetSelectionDataObject(IDataObject%)

.NET Framework-Sicherheit

Siehe auch

Referenz

VsTextViewClass Klasse

Microsoft.VisualStudio.TextManager.Interop-Namespace