DataMemberJsonConverterAttribute Class

Provides the ability to perform custom JSON serialization and deserialization for a given member.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.WindowsAzure.MobileServices.DataMemberJsonConverterAttribute

Namespace:  Microsoft.WindowsAzure.MobileServices
Assembly:  Microsoft.WindowsAzure.MobileServices.Managed (in Microsoft.WindowsAzure.MobileServices.Managed.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Property Or AttributeTargets.Field)> _
Public NotInheritable Class DataMemberJsonConverterAttribute _
    Inherits Attribute
'Usage
Dim instance As DataMemberJsonConverterAttribute
[AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class DataMemberJsonConverterAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Property|AttributeTargets::Field)]
public ref class DataMemberJsonConverterAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Property|AttributeTargets.Field)>]
type DataMemberJsonConverterAttribute =  
    class 
        inherit Attribute 
    end
public final class DataMemberJsonConverterAttribute extends Attribute

The DataMemberJsonConverterAttribute type exposes the following members.

Constructors

  Name Description
Public method DataMemberJsonConverterAttribute Initializes a new instance of the DataMemberJsonConverterAttribute class.

Top

Properties

  Name Description
Public property ConverterType Gets or sets the type of the converter that will be created to serialize or deserialize the value of the member to or from JSON. The type must iplement the IDataMemberJsonConverter interface.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method Equals (Inherited from Attribute.)
Public method GetHashCode (Inherited from Attribute.)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WindowsAzure.MobileServices Namespace