共用方式為


_IVsMsoOleAccDispObj.accName Property

Gets the name of the object.

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

Syntax

'宣告
Property accName ( _
    varChild As Object _
) As String
    Get
    Set
'用途
Dim instance As _IVsMsoOleAccDispObj
Dim varChild As Object
Dim value As String

value = instance.accName(varChild)

instance.accName(varChild) = value
string this[
    Object varChild
] { get; set; }
property String^ accName[[InAttribute] Object^ varChild] {
    String^ get ([InAttribute] Object^ varChild);
    void set ([InAttribute] Object^ varChild, String^ value);
}
abstract accName : string with get, set
JScript does not support indexed properties.

Parameters

  • varChild
    Type: System.Object
    The child. The default value is Missing().

Property Value

Type: System.String
The name.

Implements

IAccessible.accName[Object]

.NET Framework Security

See Also

Reference

_IVsMsoOleAccDispObj Interface

_IVsMsoOleAccDispObj Members

Microsoft.VisualStudio.CommandBars Namespace