Partager via


DisplayFieldValueConverter.GetConvertedUserFieldValue - Méthode

Obtient la valeur du champ de l'utilisateur après avoir converti la valeur SharePoint Field au type qui convient pour la liaison avec DisplayForm

Espace de noms :  Microsoft.SharePoint.Phone.Application
Assembly :  Microsoft.SharePoint.Phone.Application (dans Microsoft.SharePoint.Phone.Application.dll)

Syntaxe

'Déclaration
Public Shared Function GetConvertedUserFieldValue ( _
    fieldName As String, _
    item As ListItem, _
    context As ConversionContext _
) As Object
'Utilisation
Dim fieldName As String
Dim item As ListItem
Dim context As ConversionContext
Dim returnValue As Object

returnValue = DisplayFieldValueConverter.GetConvertedUserFieldValue(fieldName, _
    item, context)
public static Object GetConvertedUserFieldValue(
    string fieldName,
    ListItem item,
    ConversionContext context
)

Paramètres

  • fieldName
    Type : System.String

    Nom du champ de liste SharePoint

Valeur renvoyée

Type : System.Object

Voir aussi

Référence

DisplayFieldValueConverter classe

DisplayFieldValueConverter - Membres

Microsoft.SharePoint.Phone.Application - Espace de noms