IVsLanguageDragDropOps.IsTextDataAtLocation Method
Determines whether the data object passed to DragSetup contains data that can be rendered as text for the text buffer at the specified location?
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Декларация
Function IsTextDataAtLocation ( _
pBuffer As IVsTextLines, _
iLine As Integer, _
iCol As Integer, _
<OutAttribute> ByRef pfIsTextDataValidAtLoc As Integer _
) As Integer
int IsTextDataAtLocation(
IVsTextLines pBuffer,
int iLine,
int iCol,
out int pfIsTextDataValidAtLoc
)
int IsTextDataAtLocation(
[InAttribute] IVsTextLines^ pBuffer,
[InAttribute] int iLine,
[InAttribute] int iCol,
[OutAttribute] int% pfIsTextDataValidAtLoc
)
abstract IsTextDataAtLocation :
pBuffer:IVsTextLines *
iLine:int *
iCol:int *
pfIsTextDataValidAtLoc:int byref -> int
function IsTextDataAtLocation(
pBuffer : IVsTextLines,
iLine : int,
iCol : int,
pfIsTextDataValidAtLoc : int
) : int
Parameters
- pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
The text buffer.
- iLine
Type: System.Int32
The line number.
- iCol
Type: System.Int32
The column number
- pfIsTextDataValidAtLoc
Type: System.Int32%
[out] Zero (false) if text data is not valid at the location, otherwise non-zero (true).
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
This method is called on every mouse move (DragOver). DragSetup must have been called before calling this method.
.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.