ProfilePropertyLoader.ApplyFormattingEx Method (Property, Object )
Returns property values as a formatted HTML string for rendering.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Function ApplyFormattingEx ( _
prop As Property, _
propValue As Object() _
) As String
'Usage
Dim instance As ProfilePropertyLoader
Dim prop As [Property]
Dim propValue As Object()
Dim returnValue As String
returnValue = instance.ApplyFormattingEx(prop, _
propValue)
public string ApplyFormattingEx(
Property prop,
Object[] propValue
)
Parameters
prop
Type: Microsoft.Office.Server.UserProfiles.PropertyThe property to which the values are related.
propValue
Type: []The values to be formatted.
Return Value
Type: System.String
The values as a formatted HTML string.
Remarks
This method applies formatting to the values according to the property type, and applies highlighting if the property has changed.