IVsHiddenRegion.SetSpan(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 text span of the hidden region in the text buffer.
public:
int SetSpan(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
public:
int SetSpan(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
int SetSpan(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpan);
public int SetSpan (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpan);
abstract member SetSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function SetSpan (pSpan As TextSpan()) As Integer
Parameters
- pSpan
- TextSpan[]
[in] Pointer to the text span for the hidden region. For more information, see TextSpan.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsHiddenRegion::SetSpan(
[in] TextSpan *pSpan
);