Partager via


_CommandBarComboBox.accName Property

Gets the name of the object.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Declaration
Property accName ( _
    varChild As Object _
) As String
string this[
    Object varChild
] { get; set; }
property String^ accName[[InAttribute] Object^ varChild] {
    String^ get ([InAttribute] Object^ varChild);
    void set ([InAttribute] Object^ varChild, String^ value);
}
abstract accName : 
        varChild:Object -> string with get, set
JScript does not support indexed properties.

Parameters

  • varChild
    Type: 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

Type: String
The name.

.NET Framework Security

See Also

Reference

_CommandBarComboBox Interface

Microsoft.VisualStudio.CommandBars Namespace