IVsEnumTextSpans::GetCount Method (UInt32)

 

Returns the total count of text spans in the enumeration sequence.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetCount(
	[OutAttribute] unsigned int% pcSpans
)

Parameters

pcSpans
Type: System::UInt32

[out] Total count of text spans in the enumeration sequence.

Return Value

Type: System::Int32

If 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
);
Return to top
Show: