다음을 통해 공유


IVsLanguageClipboardOps.DataObjectRendered Method

Allows changes to a data object after it is inserted.

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

Syntax

‘선언
Function DataObjectRendered ( _
    pTextLines As IVsTextLines, _
    dwHint As UInteger, _
    ptsInsertedText As TextSpan() _
) As Integer
‘사용 방법
Dim instance As IVsLanguageClipboardOps
Dim pTextLines As IVsTextLines
Dim dwHint As UInteger
Dim ptsInsertedText As TextSpan()
Dim returnValue As Integer

returnValue = instance.DataObjectRendered(pTextLines, _
    dwHint, ptsInsertedText)
int DataObjectRendered(
    IVsTextLines pTextLines,
    uint dwHint,
    TextSpan[] ptsInsertedText
)
int DataObjectRendered(
    [InAttribute] IVsTextLines^ pTextLines, 
    [InAttribute] unsigned int dwHint, 
    [InAttribute] array<TextSpan>^ ptsInsertedText
)
abstract DataObjectRendered : 
        pTextLines:IVsTextLines * 
        dwHint:uint32 * 
        ptsInsertedText:TextSpan[] -> int 
function DataObjectRendered(
    pTextLines : IVsTextLines, 
    dwHint : uint, 
    ptsInsertedText : TextSpan[]
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsLanguageClipboardOps::DataObjectRendered(
   [in] IVsTextLines *pTextLines,
   [in] DWORD dwHint,
   [in] TextSpan *ptsInsertedText
);

Use this method to change how the text of a data object is shown after the text is rendered. This method allows you to customize your code in response to what types of views or action caused the data object rendering to occur (for example, a clipboard view or paste action).

.NET Framework Security

See Also

Reference

IVsLanguageClipboardOps Interface

IVsLanguageClipboardOps Members

Microsoft.VisualStudio.TextManager.Interop Namespace