Share via


InvisibleApp.UnregisterRibbonX Method (Visio)

Unregisters a previouly registered IRibbonExtensiblity interface that a Microsoft Visio add-in implements.

Version Information

Version Added: Visio 2010

Syntax

expression .UnregisterRibbonX(SourceAddOn, TargetDocument)

expression A variable that represents an InvisibleApp object.

Parameters

Name

Required/Optional

Data Type

Description

SourceAddOn

Required

IRibbonExtensibility

The add-in to unregister.

TargetDocument

Required

Document

The document in which to unregister the add-in.

Return Value

HRESULT