IVsTextViewIntellisenseHost.GetContextSelection(TextSpan[]) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Parâmetros
- pSelectionSpan
- TextSpan[]
Retornos
Se o método tiver sucesso, ele retornará NativeMethods.S_OK. Se falhar, retornará um código de erro.
Implementações
Comentários
De singlefileeditor. idl:
HRESULT IVsTextViewIntellisenseHost::GetContextSelection([out] TextSpan *pSelectionSpan);