Méthode | Description | |
---|---|---|
GenerateWebPartHtml ( SPWeb web, SPListItem item, string webPartName ) : string |
Method to generate the html code to embed a web part in a Publishing Page Content
|
Méthode | Description | |
---|---|---|
AddWebPartToZone ( SPListItem item, System webPart, string webPartZoneName, int webPartZoneIndex ) : System.Guid | ||
AddWebPartToZone ( SPWeb web, SPListItem item, string webPartName, string webPartZoneName, int webPartZoneIndex ) : System.Guid | ||
CreateWebPart ( SPWeb web, string webPartName, SPLimitedWebPartManager manager ) : System.Web.UI.WebControls.WebParts.WebPart | ||
GenerateWebPartHtml ( SPListItem item, System webPart ) : string |
public GenerateWebPartHtml ( SPWeb web, SPListItem item, string webPartName ) : string | ||
web | SPWeb | the SPWeb |
item | SPListItem | The item to set the web part to |
webPartName | string | the name of the web part |
Résultat | string |