Compartir a través de


_CommandBarComboBox.accName Property (Object)

Gets the name of the object.

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

Syntax

'Declaración
Property accName ( _
    varChild As Object _
) As String
    Get
    Set
'Uso
Dim instance As _CommandBarComboBox
Dim varChild As Object
Dim value As String

value = instance.accName(varChild)

instance.accName(varChild) = value
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 : string with get, set
JScript does not support indexed properties.

Parameters

  • varChild
    Type: System.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: System.String
The name.

Implements

CommandBarControl.accName[Object]

.NET Framework Security

See Also

Reference

_CommandBarComboBox Interface

_CommandBarComboBox Members

accName Overload

Microsoft.VisualStudio.CommandBars Namespace