IVsEnumTextSpans::GetCount Method (UInt32)
Visual Studio 2015
Returns the total count of text spans in the enumeration sequence.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pcSpans
-
Type:
System::UInt32
[out] Total count of text spans in the enumeration sequence.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
[C++]
HRESULT IVsEnumTextSpans::GetCount( [out] ULONG *pcSpans );
Show: