共用方式為


_CommandBarButton.accName Property

Gets the name of the object.

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

Syntax

'宣告
Property accName ( _
    varChild As Object _
) As String
    Get
    Set
'用途
Dim instance As _CommandBarButton
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

CommandBarControl.accName[Object]

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Microsoft.VisualStudio.CommandBars Namespace