IVsHiddenRegion::GetSpan Method (array<TextSpan>^)

 

Returns the text span of the hidden region in the text buffer.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetSpan(
	array<TextSpan>^ pSpan
)

Parameters

pSpan
Type: array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^

[out] Pointer to the text span for the hidden region. For more information, see TextSpan.

Return Value

Type: System::Int32

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

From textmgr.idl:

HRESULT IVsHiddenRegion::GetSpan(
   [out] TextSpan *pSpan
);
Return to top
Show: