共用方式為


SerializerExtentions.SerializeAsJsonContent(ISerializer, Object) Method

Definition

Serialize an object into a HttpContent object

public static System.Net.Http.HttpContent SerializeAsJsonContent (this Microsoft.Graph.ISerializer serializer, object source);
static member SerializeAsJsonContent : Microsoft.Graph.ISerializer * obj -> System.Net.Http.HttpContent
<Extension()>
Public Function SerializeAsJsonContent (serializer As ISerializer, source As Object) As HttpContent

Parameters

serializer
ISerializer
source
Object

Returns

Applies to