共用方式為


IVsDropdownBarClient.GetEntryAttributes Method

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)

Syntax

'宣告
Function GetEntryAttributes ( _
    iCombo As Integer, _
    iIndex As Integer, _
    <OutAttribute> ByRef pAttr As UInteger _
) As Integer
'用途
Dim instance As IVsDropdownBarClient
Dim iCombo As Integer
Dim iIndex As Integer
Dim pAttr As UInteger
Dim returnValue As Integer

returnValue = instance.GetEntryAttributes(iCombo, _
    iIndex, pAttr)
int GetEntryAttributes(
    int iCombo,
    int iIndex,
    out uint pAttr
)
int GetEntryAttributes(
    [InAttribute] int iCombo, 
    [InAttribute] int iIndex, 
    [OutAttribute] unsigned int% pAttr
)
abstract GetEntryAttributes : 
        iCombo:int * 
        iIndex:int * 
        pAttr:uint32 byref -> int 
function GetEntryAttributes(
    iCombo : int, 
    iIndex : int, 
    pAttr : uint
) : int

Parameters

  • iCombo
    Type: System.Int32
    [in] The drop-down bar/Window combo.

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsDropdownBarClient Interface

IVsDropdownBarClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace