IVsTextViewIntellisenseHost.GetContextSelection(TextSpan[]) Метод

Определение

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

Параметры

pSelectionSpan
TextSpan[]

Возвращаемое значение

Int32

При успешном завершении метода возвращается значение NativeMethods.S_ОК. В противном случае функция возвращает код ошибки.

Реализации

Комментарии

Из синглефилидитор. IDL:

HRESULT IVsTextViewIntellisenseHost::GetContextSelection([out] TextSpan *pSelectionSpan);  

Применяется к