ProfilePropertyLoader.ApplyFormattingEx Method (Property, Object , Boolean)
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(), _
ignoreFormat As Boolean _
) As String
'Usage
Dim instance As ProfilePropertyLoader
Dim prop As [Property]
Dim propValue As Object()
Dim ignoreFormat As Boolean
Dim returnValue As String
returnValue = instance.ApplyFormattingEx(prop, _
propValue, ignoreFormat)
public string ApplyFormattingEx(
Property prop,
Object[] propValue,
bool ignoreFormat
)
Parameters
prop
Type: Microsoft.Office.Server.UserProfiles.PropertyThe property to which the values are related.
propValue
Type: []The values to be formatted.
ignoreFormat
Type: System.Booleantrue to indicate that formatting based on the property type should not be applied; otherwise, false.
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.