Exporter (0) Imprimer
Développer tout

SPField.GetFieldValueAsHtml, méthode (Microsoft.SharePoint)

Windows SharePoint Services 3
Returns the field value in HTML format in order to render the field value directly on the page.

Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans microsoft.sharepoint.dll)

public virtual string GetFieldValueAsHtml (
	Object value
)

Paramètres

value

An object that represents the value to convert.

Valeur retournée

A string that contains the value in HTML format.

The GetFieldValueAsHtml method is used for version history and other managed code rendering. This method is not used in Display forms, which use Schémas principaux du langage CAML (Collaborative Application Markup Language) for field rendering to share common logic with field rendering in list views.

Afficher:
© 2014 Microsoft