共用方式為


CommandBarButtonClass.accRole Property

Gets the role. This property is deprecated.

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

Syntax

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

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

Parameters

Property Value

Type: System.Object
The role. This property is deprecated.

Implements

_CommandBarButton.accRole[Object]

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace