IVsDropdownBarClient3.GetAutomationProperties 方法

Gets the automation name and ID for the drop down box.

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime(在 Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime.dll 中)

语法

声明
Function GetAutomationProperties ( _
    iCombo As Integer, _
    <OutAttribute> ByRef pbstrName As String, _
    <OutAttribute> ByRef pbstrId As String _
) As Integer
int GetAutomationProperties(
    int iCombo,
    out string pbstrName,
    out string pbstrId
)
int GetAutomationProperties(
    [InAttribute] int iCombo, 
    [OutAttribute] String^% pbstrName, 
    [OutAttribute] String^% pbstrId
)
abstract GetAutomationProperties : 
        iCombo:int * 
        pbstrName:string byref * 
        pbstrId:string byref -> int
function GetAutomationProperties(
    iCombo : int, 
    pbstrName : String, 
    pbstrId : String
) : int

参数

  • iCombo
    类型:Int32

    The index of the combo.

  • pbstrName
    类型:String%

    [out] The automation name of the combo.

  • pbstrId
    类型:String%

    [out] The ID of the combo.

返回值

类型:Int32
The HRESULT.

.NET Framework 安全性

请参阅

参考

IVsDropdownBarClient3 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间