(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.StringEl nombre para el nuevo objeto de PublishingPage .
fileToConvert
Tipo: Microsoft.SharePoint.SPFileEl nombre del archivo que se va a convertir para obtener el contenido de la página.
transformerId
Tipo: System.GuidEl transformador ID para la conversión de documentos.
priority
Tipo: Microsoft.SharePoint.Publishing.PageConversionPriorityEl nivel de prioridad de la conversión.
folder
Tipo: Microsoft.SharePoint.SPFolderLa carpeta que contiene el nuevo objeto de PublishingPage .
Valor devuelto
Tipo: Microsoft.SharePoint.Publishing.PublishingPage
Devuelve PublishingPage.