KinectTypeBinder Class (KinectEx.Json)
A SerializationBinder that handles the tricky issue of cross-platform
JSON serialization when storing and retrieving objects that come from
different assemblies and namespaces depending on the platform. In this
case, the Kinect SDK classes need to be able to be easily converted to and from
WindowsPreview.Kinect, Microsoft.Kinect, or KinectEx.KinectSDK.
- C#
- VB
- C++
- F#
public class KinectTypeBinder : SerializationBinder
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
type public KinectTypeBinder = class inherit SerializationBinder end
The KinectTypeBinder type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
KinectTypeBinder(SerializationBinder) | Initializes a new instance of the KinectTypeBinder class. | ||
KinectTypeBinder(SerializationBinder) | Initializes a new instance of the KinectTypeBinder class. |
Platforms | Name | Description | |
---|---|---|---|
BindToName | Controls the binding of a serialized object to a type. (Overrides SerializationBinder.BindToName().) | ||
BindToType | Controls the binding of a serialized object to a type. (Overrides SerializationBinder.BindToType().) |
Supported in:
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5 (without Kinect SDK)
Windows 8.1 Store - WinRT
Windows 8.1 Store - WinRT (without Kinect SDK)
Windows Phone 8 - WinRT
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5 (without Kinect SDK)
Windows 8.1 Store - WinRT
Windows 8.1 Store - WinRT (without Kinect SDK)
Windows Phone 8 - WinRT