_CommandBarComboBox.accName[Object] 属性

定义

获取对象的名称。

public:
 property System::String ^ accName[System::Object ^] { System::String ^ get(System::Object ^ varChild); void set(System::Object ^ varChild, System::String ^ value); };
[System.Runtime.InteropServices.DispId(-5003)]
public string accName[object varChild] { [System.Runtime.InteropServices.DispId(-5003)] [System.Runtime.InteropServices.TypeLibFunc(64)] get; [System.Runtime.InteropServices.DispId(-5003)] [System.Runtime.InteropServices.TypeLibFunc(64)] set; }
[<System.Runtime.InteropServices.DispId(-5003)>]
[<get: System.Runtime.InteropServices.DispId(-5003)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(64)>]
[<set: System.Runtime.InteropServices.DispId(-5003)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(64)>]
member this.accName(obj) : string with get, set
Public Property accName(Optional varChild As Object) As String

参数

varChild
Object

[in,可选]子级。 一个整数,表示要返回的名称的索引。 值0返回组合框本身的名称;任何其他值表示其文本返回的组合框项的从1开始的索引。 如果未指定此参数,则默认值为0。

属性值

String

名称。

实现

属性

适用于