Freigeben über


IVsHiddenRegion.GetSpan(TextSpan[]) Method

Definition

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  
);  

Applies to