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
- varChild
Type: System.Object
The child.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.