IVsIntellisenseCompletor.GetCompletionSpan(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.
Gibt die completor-Spanne zurück.
public:
int GetCompletionSpan(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ts);
public:
int GetCompletionSpan(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ ts);
int GetCompletionSpan(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & ts);
public int GetCompletionSpan (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] ts);
abstract member GetCompletionSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetCompletionSpan (ts As TextSpan()) As Integer
Parameter
Gibt zurück
Wenn die Methode erfolgreich ist, gibt sie VSConstants.S_OK zurück. Bei einem Fehler wird ein Fehlercode zurückgegeben.
Hinweise
C++
Aus singlefileeditor. idl:
HRESULT IVsIntellisenseCompletor::GetCompletionSpan(TextSpan *ts);