IVsDropdownBarClient.GetEntryAttributes 方法
下拉式組合項目的外觀屬性會傳回文字。
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
Function GetEntryAttributes ( _
iCombo As Integer, _
iIndex As Integer, _
<OutAttribute> ByRef pAttr As UInteger _
) As Integer
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
參數
iCombo
類型:Int32[in]下拉式列 / 視窗組合。
iIndex
類型:Int32[in]感興趣的項目索引。
pAttr
類型:UInt32%[] out字型屬性。 值為pAttr取自DROPDOWNFONTATTR列舉。
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsDropdownBarClient::GetEntryAttributes(
[in] long iCombo,
[in] long iIndex,
[out] ULONG *pAttr
);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。