Condividi tramite


Metodo Factory.CreateDocument

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

Spazio dei nomi:  Microsoft.Office.Tools.Word
Assembly:   Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Sintassi

'Dichiarazione
Function CreateDocument ( _
    serviceProvider As IServiceProvider, _
    hostItemProvider As IHostItemProvider, _
    primaryCookie As String, _
    identifier As String, _
    containerComponent As Object, _
    extension As IDocumentExtension _
) As Document
Document CreateDocument(
    IServiceProvider serviceProvider,
    IHostItemProvider hostItemProvider,
    string primaryCookie,
    string identifier,
    Object containerComponent,
    IDocumentExtension extension
)

Parametri

Valore restituito

Tipo: Microsoft.Office.Tools.Word.Document

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Factory Interfaccia

Spazio dei nomi Microsoft.Office.Tools.Word