IVsTextTipData.GetTipFontInfo(Int32, UInt32[]) 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.
Obtient les informations de police pour le texte info-bulle.
public:
int GetTipFontInfo(int cChars, cli::array <System::UInt32> ^ pdwFontAttr);
public:
int GetTipFontInfo(int cChars, Platform::Array <unsigned int> ^ pdwFontAttr);
int GetTipFontInfo(int cChars, std::Array <unsigned int> const & pdwFontAttr);
public int GetTipFontInfo (int cChars, uint[] pdwFontAttr);
abstract member GetTipFontInfo : int * uint32[] -> int
Public Function GetTipFontInfo (cChars As Integer, pdwFontAttr As UInteger()) As Integer
Paramètres
- cChars
- Int32
dans Nombre de caractères pour la recherche d’informations sur la police.
- pdwFontAttr
- UInt32[]
à Attribut de police pour les caractères 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 IVsTextTipData::GetTipFontInfo(
[in] long cChars,
[out, size_is(cChars)] ULONG *pdwFontAttr
);
Notes
*pdwFontAttr aura déjà été memset à des zéros, vous ne pouvez donc définir que les index qui ne sont pas normaux