IVsTextViewIntellisenseHost.GetContextSelection(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.
public:
int GetContextSelection(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSelectionSpan);
public:
int GetContextSelection(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSelectionSpan);
int GetContextSelection(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSelectionSpan);
public int GetContextSelection (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSelectionSpan);
abstract member GetContextSelection : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetContextSelection (pSelectionSpan As TextSpan()) As Integer
Parameters
- pSelectionSpan
- TextSpan[]
Returns
If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.
Implements
Remarks
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::GetContextSelection([out] TextSpan *pSelectionSpan);