DesignPackage.Apply método
Aplica o pacote de design especificado em um site.
Namespace: Microsoft.SharePoint.Client.Publishing
Assemblies: Microsoft.SharePoint.Client.Publishing.Silverlight (em Microsoft.SharePoint.Client.Publishing.Silverlight.dll); Microsoft.SharePoint.Client.Publishing.Phone (em Microsoft.SharePoint.Client.Publishing.Phone.dll) Microsoft.SharePoint.Client.Publishing (em Microsoft.SharePoint.Client.Publishing.dll)
Sintaxe
'Declaração
Public Shared Sub Apply ( _
context As ClientRuntimeContext, _
site As Site, _
info As DesignPackageInfo _
)
'Uso
Dim context As ClientRuntimeContext
Dim site As Site
Dim info As DesignPackageInfo
DesignPackage.Apply(context, site, info)
public static void Apply(
ClientRuntimeContext context,
Site site,
DesignPackageInfo info
)
Parâmetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
site
Tipo: Microsoft.SharePoint.Client.SiteO objeto Site no qual aplicar o pacote de design.
info
Tipo: Microsoft.SharePoint.Client.Publishing.DesignPackageInfoO pacote de design para aplicar.
Comentários
O pacote de design pode ser aplicado somente depois de instalado.