IVsTextLayerMarker.GetCurrentSpan(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 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
);