MessagePackSerializerCreate Method (Type) |
Note: This API is now obsolete.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [ObsoleteAttribute("Use Get(Type) instead.")]
public static IMessagePackSingleObjectSerializer Create(
Type targetType
)
<ObsoleteAttribute("Use Get(Type) instead.")>
Public Shared Function Create (
targetType As Type
) As IMessagePackSingleObjectSerializer
public:
[ObsoleteAttribute(L"Use Get(Type) instead.")]
static IMessagePackSingleObjectSerializer^ Create(
Type^ targetType
)
[<ObsoleteAttribute("Use Get(Type) instead.")>]
static member Create :
targetType : Type -> IMessagePackSingleObjectSerializer
Parameters
- targetType
- Type: SystemType
Target type.
Return Value
Type:
IMessagePackSingleObjectSerializer
New
IMessagePackSingleObjectSerializer instance to serialize/deserialize the object tree which the top is
targetType.
Exceptions Remarks
To avoid boxing and strongly typed API is prefered, use
CreateT instead when possible.
See Also