Condividi tramite


CommandBar.accRole Property (Object)

Gets the role. This property is deprecated.

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

Syntax

'Dichiarazione
ReadOnly Property accRole ( _
    varChild As Object _
) As Object
    Get
'Utilizzo
Dim instance As CommandBar
Dim varChild As Object
Dim value As Object

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

Parameters

Property Value

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

Implements

_IVsMsoOleAccDispObj.accRole[Object]

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBar Interface

CommandBar Members

accRole Overload

Microsoft.VisualStudio.CommandBars Namespace