Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns a copy of the selected text in IDataObject interface format.
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
'Usage
Dim instance As VsTextViewClass
Dim ppIDataObject As IDataObject
Dim returnValue As Integer
returnValue = instance.GetSelectionDataObject(ppIDataObject)
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
Parameters
- ppIDataObject
Type: Microsoft.VisualStudio.OLE.Interop.IDataObject%
[out] Pointer to an IDataObject object containing the selected text.
Return Value
Type: System.Int32
Implements
IVsTextView.GetSelectionDataObject(IDataObject%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.