Share via


AddIns.Unload Method

Unloads all loaded add-ins and optionally removes them from the AddIns collection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub Unload ( _
    RemoveFromList As Boolean _
)
'Usage
Dim instance As AddIns
Dim RemoveFromList As Boolean

instance.Unload(RemoveFromList)
void Unload(
    bool RemoveFromList
)

Parameters

  • RemoveFromList
    Type: System.Boolean
    True to remove the unloaded add-ins from the AddIns collection (the names are removed from the Templates and Add-ins dialog box). False to leave the unloaded add-ins in the collection.

Remarks

To unload a single template or WLL, set the Installed property of the AddIn object to False. To remove a single template or WLL from the AddIns collection, apply the Delete method to the AddIn object.

See Also

Reference

AddIns Interface

AddIns Members

Microsoft.Office.Interop.Word Namespace