Compartir a través de


AddIns.Add Method

Returns an AddIn object that represents an add-in file added to the list of add-ins.

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

Syntax

'Declaration
Function Add ( _
    FileName As String _
) As AddIn
'Usage
Dim instance As AddIns
Dim FileName As String
Dim returnValue As AddIn

returnValue = instance.Add(FileName)
AddIn Add(
    string FileName
)

Parameters

  • FileName
    Type: System.String
    The full name of the file (including the path and file name extension) that contains the add-in you want to add to the list of add-ins.

Return Value

Type: Microsoft.Office.Interop.PowerPoint.AddIn
Returns .

Remarks

This method doesn't load the new add-in. You must set the Loaded property to load the add-in.

See Also

Reference

AddIns Interface

AddIns Members

Microsoft.Office.Interop.PowerPoint Namespace