共用方式為


CommandBarButtonClass.accDefaultAction Property

Gets the default action. This property is deprecated.

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

Syntax

'宣告
Public Overridable ReadOnly Property accDefaultAction ( _
    varChild As Object _
) As String
    Get
'用途
Dim instance As CommandBarButtonClass
Dim varChild As Object
Dim value As String

value = instance.accDefaultAction(varChild)
public virtual string this[
    Object varChild
] { get; }
public:
virtual property String^ accDefaultAction[[InAttribute] Object^ varChild] {
    String^ get ([InAttribute] Object^ varChild);
}
abstract accDefaultAction : string
override accDefaultAction : string
JScript does not support indexed properties.

Parameters

Property Value

Type: System.String
The default action. This property is deprecated.

Implements

_CommandBarButton.accDefaultAction[Object]

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace