次の方法で共有


IVsTextLayerMarker.GetCurrentSpan(TextSpan[]) Method

Definition

Returns the current span position.

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

Parameters

pSpan
TextSpan[]

[out] The current span position.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLayerMarker::GetCurrentSpan(  
   [out] TextSpan *pSpan  
);  

Applies to