IVsTextSpanSet.GetCount(Int32) 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 number of text spans
public:
int GetCount([Runtime::InteropServices::Out] int % pcel);
int GetCount([Runtime::InteropServices::Out] int & pcel);
public int GetCount (out int pcel);
abstract member GetCount : int -> int
Public Function GetCount (ByRef pcel As Integer) As Integer
Parameters
- pcel
- Int32
[out] Specifies the number of text spans in the text image.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextSpanSet::GetCount(
[out, retval] LONG * pcel
);