IVsTextViewIntellisenseHost.SetSubjectFromPrimaryBuffer(TextSpan[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the span from the primary buffer.
public:
int SetSubjectFromPrimaryBuffer(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpanInPrimary);
public:
int SetSubjectFromPrimaryBuffer(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpanInPrimary);
int SetSubjectFromPrimaryBuffer(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpanInPrimary);
public int SetSubjectFromPrimaryBuffer (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpanInPrimary);
abstract member SetSubjectFromPrimaryBuffer : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function SetSubjectFromPrimaryBuffer (pSpanInPrimary As TextSpan()) As Integer
Parameters
Returns
If the method succeeds, it returns NativeMethods.S_OK. If it fails, it returns an error code.
Remarks
From singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::SetSubjectFromPrimaryBuffer(TextSpan *pSpanInPrimary);