ProfilePropertyLoader.ApplyFormattingEx - Méthode (Property, Object[], Boolean)
Retourne les valeurs de propriété sous la forme d'une chaîne de mise en forme HTML pour le rendu.
Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans Microsoft.SharePoint.Portal.dll)
Syntaxe
'Déclaration
Public Function ApplyFormattingEx ( _
prop As Property, _
propValue As Object(), _
ignoreFormat As Boolean _
) As String
'Utilisation
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
)
Paramètres
prop
Type : Microsoft.Office.Server.UserProfiles.PropertyLa propriété à laquelle les valeurs sont liés.
propValue
Type : []Les valeurs à mettre en forme.
ignoreFormat
Type : System.Booleantrue pour indiquer que la mise en forme en fonction du type de propriété ne doit pas être appliqué ; dans le cas contraire, false.
Valeur renvoyée
Type : System.String
Les valeurs sous la forme d'une chaîne HTML mise en forme.
Remarques
Cette méthode s'applique aux valeurs en fonction du type de propriété de mise en forme et mise en surbrillance si la propriété a été modifiée.