Windows Live
SmartContentSource.GenerateEditorHtml Method

Generate the HTML content that represents the ISmartContent item within the post editor.

Syntax

public virtual string GenerateEditorHtml( ISmartContent content, IPublishingContext publishingContext );
Parameters

Parameter Description

content

ISmartContent object to generate HTML for.

publishingContext

Publishing context for HTML generation.

Return Value

HTML content to be inserted into the post editor.

Remarks

The default behavior for this method, if it is not overridden, is to call SmartContentSource.GeneratePublishHtml.

See Also

Reference

SmartContentSource Class

Page view tracker