Share via


_CommandBarButton.Parent Property

Returns a value that indicates the parent object for the specified object.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
ReadOnly Property Parent As CommandBar
    Get
'Usage
Dim instance As _CommandBarButton
Dim value As CommandBar

value = instance.Parent
CommandBar Parent { get; }

Property Value

Type: Microsoft.Office.Core.CommandBar

Implements

CommandBarControl.Parent

See Also

Reference

_CommandBarButton Interface

_CommandBarButton Members

Parent Overload

Microsoft.Office.Core Namespace