DiagramDocView.GetCurrentSpan(TextSpan[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get current cursor location
public:
virtual int GetCurrentSpan(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pts);
public int GetCurrentSpan (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pts);
abstract member GetCurrentSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
override this.GetCurrentSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetCurrentSpan (pts As TextSpan()) As Integer
Parameters
- pts
- TextSpan[]
Current location
Returns
Hresult