IVsHiddenRegion.GetSpan(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.
Returns the text span of the hidden region in the text buffer.
public:
int GetSpan(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
public:
int GetSpan(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
int GetSpan(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpan);
public int GetSpan (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpan);
abstract member GetSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetSpan (pSpan As TextSpan()) As Integer
Parameters
- pSpan
- TextSpan[]
[out] 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::GetSpan(
[out] TextSpan *pSpan
);