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)


Sub Unload ( _
    RemoveFromList As Boolean _
Dim instance As AddIns
Dim RemoveFromList As Boolean

void Unload(
    bool RemoveFromList


  • 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.


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


AddIns Interface

AddIns Members

Microsoft.Office.Interop.Word Namespace