Partager via


ServerStub.CustomWrite - Méthode

Customized serialization of the object into OData format.

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

Syntaxe

'Déclaration
Protected Overridable Function CustomWrite ( _
    value As Object, _
    path As Uri, _
    writer As ODataWriter, _
    query As RESTfulQuery, _
    proxyContext As ProxyContext _
) As Boolean
'Utilisation
Dim value As Object
Dim path As Uri
Dim writer As ODataWriter
Dim query As RESTfulQuery
Dim proxyContext As ProxyContext
Dim returnValue As Boolean

returnValue = Me.CustomWrite(value, _
    path, writer, query, proxyContext)
protected virtual bool CustomWrite(
    Object value,
    Uri path,
    ODataWriter writer,
    RESTfulQuery query,
    ProxyContext proxyContext
)

Paramètres

  • path
    Type : System.Uri

    The URL path to be associated with the object. It could be null. When it's null, the method should use the URL path determined by the object.

  • writer
    Type : ODataWriter

    The oData writer.

Valeur renvoyée

Type : System.Boolean
true if the object is custom serialized; otherwise, false and let the system to serialize the object into oData format.

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms