共用方式為


_IVsMsoOleAccDispObj.accRole Property

Gets the role. This property is deprecated.

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

Syntax

'宣告
ReadOnly Property accRole ( _
    varChild As Object _
) As Object
    Get
'用途
Dim instance As _IVsMsoOleAccDispObj
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

IAccessible.accRole[Object]

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

_IVsMsoOleAccDispObj Interface

_IVsMsoOleAccDispObj Members

Microsoft.VisualStudio.CommandBars Namespace