Share via


_CommandBarComboBox.accName[Object] Property

Definition

Gets the name of the 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

Parameters

varChild
Object

[in, optional] The child. An integer representing the index of the name to return. A value of 0 returns the name of the combo box itself; any other value represents the 1-based index of the combo box item whose text is returned. If this parameter is not specified, the default value is 0.

Property Value

The name.

Implements

Attributes

Applies to