Compartilhar via


Serializer.GetEncoderForType Method

Get the encoder for a particular type.

Namespace:  Microsoft.SharePoint.JsonUtilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetEncoderForType ( _
    t As Type _
) As JsonEncoder
'Usage
Dim instance As Serializer
Dim t As Type
Dim returnValue As JsonEncoder

returnValue = instance.GetEncoderForType(t)
public JsonEncoder GetEncoderForType(
    Type t
)

Parameters

Return Value

Type: Microsoft.SharePoint.JsonUtilities.JsonEncoder
Returns JsonEncoder.

See Also

Reference

Serializer Class

Serializer Members

Microsoft.SharePoint.JsonUtilities Namespace