Compartilhar via


Método Factory.CreateAddIn

This API supports the Visual Studio infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.Office.Tools
Assemblies:   Microsoft.Office.Tools.Common (em Microsoft.Office.Tools.Common.dll)
  Microsoft.Office.Tools.Common.v4.0.Utilities (em Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

Sintaxe

'Declaração
Function CreateAddIn ( _
    serviceProvider As IServiceProvider, _
    hostItemProvider As IHostItemProvider, _
    primaryCookie As String, _
    identifier As String, _
    containerComponent As Object, _
    extension As IAddInExtension _
) As AddIn
AddIn CreateAddIn(
    IServiceProvider serviceProvider,
    IHostItemProvider hostItemProvider,
    string primaryCookie,
    string identifier,
    Object containerComponent,
    IAddInExtension extension
)

Parâmetros

Valor de retorno

Tipo: Microsoft.Office.Tools.AddIn

Segurança do .NET Framework

Consulte também

Referência

Factory Interface

Namespace Microsoft.Office.Tools