다음을 통해 공유


IVsDropdownBarClient.GetEntryAttributes(Int32, Int32, UInt32) Method

Definition

Returns text appearance attributes for a drop-down combination entry.

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

Parameters

iCombo
Int32

[in] The drop-down bar/Window combo.

iIndex
Int32

[in] Index of item of interest.

pAttr
UInt32

[out] Font attribute. Values for pAttr are taken from the DROPDOWNFONTATTR enum.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsDropdownBarClient::GetEntryAttributes(  
   [in] long iCombo,  
   [in] long iIndex,  
   [out] ULONG *pAttr  
);  

Applies to