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
writer
Type : Microsoft.SharePoint.Client.JsonWriterThe JSON stream to write to.
obj
Type : System.ObjectThe object instance to read the property value from.
field
Type : Microsoft.SharePoint.Client.ClientQueryPropertyThe metadata used to determine which property to write.
proxyContext
Type : Microsoft.SharePoint.Client.ProxyContextContains information about the general state of a client request and response operation.
Valeur renvoyée
Type : System.Boolean
true if the property was successfully written; otherwise, false.