IVsTextSpanSet.GetCount(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne le nombre d'étendues de texte
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
Paramètres
- pcel
- Int32
[out] Spécifie le nombre d'étendues de texte dans l'image de texte.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr. idl :
HRESULT IVsTextSpanSet::GetCount(
[out, retval] LONG * pcel
);