Condividi tramite


CommandBar.accName Property (Object)

Gets the name of the object.

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

Syntax

'Dichiarazione
Property accName ( _
    varChild As Object _
) As String
    Get
    Set
'Utilizzo
Dim instance As CommandBar
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
    The child. The default value is Missing().

Property Value

Type: System.String
The name.

Implements

_IVsMsoOleAccDispObj.accName[Object]

.NET Framework Security

See Also

Reference

CommandBar Interface

CommandBar Members

accName Overload

Microsoft.VisualStudio.CommandBars Namespace