Udostępnij za pośrednictwem


SmartArtNode.Promote Method

Promotes the current node (and all its children) a single level within the data model.

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

Syntax

'Declaration
Sub Promote
'Usage
Dim instance As SmartArtNode

instance.Promote()
void Promote()

Remarks

This functionality mimics the promote button on the Microsoft Office Fluent Ribbon UI when working within the content pane. For example, given the following data model:

  • A

    • B

      • C
  • D

if B is promoted, the resulting data model looks like the following:

  • A

  • B

    • C
  • D

See Also

Reference

SmartArtNode Interface

SmartArtNode Members

Microsoft.Office.Core Namespace