Condividi tramite


IVsSyntheticRegion.GetSyntheticLayerSpan(TextSpan[]) Method

Definition

Gets the owning layer span for the region.

public:
 int GetSyntheticLayerSpan(cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
public:
 int GetSyntheticLayerSpan(Platform::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pSpan);
int GetSyntheticLayerSpan(std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pSpan);
public int GetSyntheticLayerSpan (Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pSpan);
abstract member GetSyntheticLayerSpan : Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetSyntheticLayerSpan (pSpan As TextSpan()) As Integer

Parameters

pSpan
TextSpan[]

[out] The extent of the region in coordinates of the owning layer.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSyntheticRegion::GetSyntheticLayerSpan(  
   [out] TextSpan *pSpan  
);  

Applies to