IVsTextViewIntellisenseHost.GetContextSelection(TextSpan[]) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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
Parameter
- pSelectionSpan
- TextSpan[]
Gibt zurück
Wenn die Methode erfolgreich ist, gibt sie NativeMethods.S_OK zurück. Bei einem Fehler wird ein Fehlercode zurückgegeben.
Implementiert
Hinweise
Aus singlefileeditor. idl:
HRESULT IVsTextViewIntellisenseHost::GetContextSelection([out] TextSpan *pSelectionSpan);