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
- t
Type: System.Type
Return Value
Type: Microsoft.SharePoint.JsonUtilities.JsonEncoder
Returns JsonEncoder.