Partager via


DiagramDocView.GetCurrentSpan(TextSpan[]) Method

Definition

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

Implements

Applies to