Compartir a través de


(String, SPFile, Guid, PageConversionPriority, SPFolder) del método PublishingWeb.AddPublishingPage

NOTA: esta API está ahora obsoleta.

Crea un nuevo objeto PublishingPage en la PublishingWeb.

Espacio de nombres:  Microsoft.SharePoint.Publishing
Ensamblado:  Microsoft.SharePoint.Publishing (en Microsoft.SharePoint.Publishing.dll)

Sintaxis

'Declaración
<ObsoleteAttribute("This member is obsolete - use the specialized Office services instead for conversions",  _
    False)> _
Public Function AddPublishingPage ( _
    newPageName As String, _
    fileToConvert As SPFile, _
    transformerId As Guid, _
    priority As PageConversionPriority, _
    folder As SPFolder _
) As PublishingPage
'Uso
Dim instance As PublishingWeb
Dim newPageName As String
Dim fileToConvert As SPFile
Dim transformerId As Guid
Dim priority As PageConversionPriority
Dim folder As SPFolder
Dim returnValue As PublishingPage

returnValue = instance.AddPublishingPage(newPageName, _
    fileToConvert, transformerId, priority, _
    folder)
[ObsoleteAttribute("This member is obsolete - use the specialized Office services instead for conversions", 
    false)]
public PublishingPage AddPublishingPage(
    string newPageName,
    SPFile fileToConvert,
    Guid transformerId,
    PageConversionPriority priority,
    SPFolder folder
)

Parámetros

  • newPageName
    Tipo: System.String

    El nombre para el nuevo objeto de PublishingPage .

  • transformerId
    Tipo: System.Guid

    El transformador ID para la conversión de documentos.

Valor devuelto

Tipo: Microsoft.SharePoint.Publishing.PublishingPage
Devuelve PublishingPage.

Vea también

Referencia

clase PublishingWeb

Miembros PublishingWeb

Sobrecarga AddPublishingPage

Espacio de nombres Microsoft.SharePoint.Publishing