IVsEnumTextSpans.GetCount(UInt32) 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 total count of text spans in the enumeration sequence.
public:
int GetCount([Runtime::InteropServices::Out] System::UInt32 % pcSpans);
int GetCount([Runtime::InteropServices::Out] unsigned int & pcSpans);
public int GetCount (out uint pcSpans);
abstract member GetCount : uint32 -> int
Public Function GetCount (ByRef pcSpans As UInteger) As Integer
Parameters
- pcSpans
- UInt32
[out] Total count of text spans in the enumeration sequence.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
[C++]
HRESULT IVsEnumTextSpans::GetCount(
[out] ULONG *pcSpans
);