共用方式為


CommandBarButtonClass.accState Property

Gets the state. This property is deprecated.

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

Syntax

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

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

Parameters

Property Value

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

Implements

_CommandBarButton.accState[Object]

Remarks

This property throws a DeprecatedException when called.

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace