Partager via


ServerStub.WriteOnePropertyValueAsJson - Méthode

Writes a property value for an object instance to a JSON stream

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

Syntaxe

'Déclaration
Protected Friend Overridable Function WriteOnePropertyValueAsJson ( _
    writer As JsonWriter, _
    obj As Object, _
    field As ClientQueryProperty, _
    proxyContext As ProxyContext _
) As Boolean
'Utilisation
Dim writer As JsonWriter
Dim obj As Object
Dim field As ClientQueryProperty
Dim proxyContext As ProxyContext
Dim returnValue As Boolean

returnValue = Me.WriteOnePropertyValueAsJson(writer, _
    obj, field, proxyContext)
protected internal virtual bool WriteOnePropertyValueAsJson(
    JsonWriter writer,
    Object obj,
    ClientQueryProperty field,
    ProxyContext proxyContext
)

Paramètres

  • obj
    Type : System.Object

    The object instance to read the property value from.

Valeur renvoyée

Type : System.Boolean
true if the property was successfully written; otherwise, false.

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms