共用方式為


IVsIntellisenseCompletor.GetCompletionSpan(TextSpan[]) Method

Definition

Returns the completor span.

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

Parameters

ts
TextSpan[]

TextSpan containing the completor.

Returns

If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.

Remarks

C++

From singlefileeditor.idl:

HRESULT IVsIntellisenseCompletor::GetCompletionSpan(TextSpan *ts);

Applies to