IVsLanguageDragDropOps::IsTextDataAtLocation Method (IVsTextLines^, Int32, Int32, Int32)
Visual Studio 2015
Determines whether the data object passed to DragSetup contains data that can be rendered as text for the text buffer at the specified location?
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int IsTextDataAtLocation( IVsTextLines^ pBuffer, int iLine, int iCol, [OutAttribute] int% pfIsTextDataValidAtLoc )
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::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: