IVsDropdownBarClient::GetEntryAttributes Method (Int32, Int32, UInt32)

 

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

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetEntryAttributes(
	int iCombo,
	int iIndex,
	[OutAttribute] unsigned int% pAttr
)

Parameters

iCombo
Type: System::Int32

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

iIndex
Type: System::Int32

[in] Index of item of interest.

pAttr
Type: System::UInt32

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

Return Value

Type: System::Int32

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

From textmgr.idl:

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