Partager via


ServerStub.GetExpandoFieldValue - Méthode

Get the expando field value.

The code gen uses ClientCallableTypeAttribute(GetExpandoFieldValueMethodName = "PropName") to generate code to return the expando field value. For example, for the SPListItem class, we have GetExpandoFieldValueMethodName = "GetFieldValue" the code gen will generate code like: SPListItem value = obj as SPListItem; if (value != null) { return value.GetFieldValue(fieldName); } return null;

Espace de noms :  Microsoft.SharePoint.Client
Assembly :  Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)

Syntaxe

'Déclaration
Protected Friend Overridable Function GetExpandoFieldValue ( _
    obj As Object, _
    fieldName As String _
) As Object
'Utilisation
Dim obj As Object
Dim fieldName As String
Dim returnValue As Object

returnValue = Me.GetExpandoFieldValue(obj, _
    fieldName)
protected internal virtual Object GetExpandoFieldValue(
    Object obj,
    string fieldName
)

Paramètres

Valeur renvoyée

Type : System.Object

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms