Partager via


IVsTextSpanSet.GetCount(Int32) Method

Definition

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  
);  

Applies to