IVsDropdownBarClient.GetEntryAttributes(Int32, 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.
Retourne des attributs d'aspect de texte pour une entrée de combinaison déroulante.
public:
int GetEntryAttributes(int iCombo, int iIndex, [Runtime::InteropServices::Out] System::UInt32 % pAttr);
int GetEntryAttributes(int iCombo, int iIndex, [Runtime::InteropServices::Out] unsigned int & pAttr);
public int GetEntryAttributes (int iCombo, int iIndex, out uint pAttr);
abstract member GetEntryAttributes : int * int * uint32 -> int
Public Function GetEntryAttributes (iCombo As Integer, iIndex As Integer, ByRef pAttr As UInteger) As Integer
Paramètres
- iCombo
- Int32
[in] Barre déroulante/Liste déroulante de fenêtre.
- iIndex
- Int32
[in] Index de l'élément concerné.
- pAttr
- UInt32
[out] Attribut de police. Les valeurs de pAttr sont extraites de l' DROPDOWNFONTATTR enum.
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 IVsDropdownBarClient::GetEntryAttributes(
[in] long iCombo,
[in] long iIndex,
[out] ULONG *pAttr
);