ASP.NET Core MVC Controls | ComponentOne
C1.JsonNet Namespace / JsonAttribute Class / JsonAttribute Constructor / JsonAttribute Constructor(Boolean,Int32,String)
A flag indicating whether the default value should be serialized or deserialized.
A System.Int32 value indicating the order of serialization or deserialization.
The specified name the property would be serialized.






In This Topic
    JsonAttribute Constructor(Boolean,Int32,String)
    In This Topic
    Initializes a new instance of the JsonAttribute class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal skipIfDefault As System.Boolean, _
       ByVal order As System.Integer, _
       ByVal propertyName As System.String _
    )
    'Usage
     
    
    Dim skipIfDefault As System.Boolean
    Dim order As System.Integer
    Dim propertyName As System.String
     
    Dim instance As New JsonAttribute(skipIfDefault, order, propertyName)
    public JsonAttribute( 
       System.bool skipIfDefault,
       System.int order,
       System.string propertyName
    )
    public JsonAttribute( 
        skipIfDefault: System.Boolean;
        order: System.Integer;
        propertyName: System.String
    ); 
    public function JsonAttribute( 
       skipIfDefault : System.boolean,
       order : System.int,
       propertyName : System.String
    );
    public: JsonAttribute( 
       System.bool skipIfDefault,
       System.int order,
       System.string* propertyName
    )
    public:
    JsonAttribute( 
       System.bool skipIfDefault,
       System.int order,
       System.String^ propertyName
    )

    Parameters

    skipIfDefault
    A flag indicating whether the default value should be serialized or deserialized.
    order
    A System.Int32 value indicating the order of serialization or deserialization.
    propertyName
    The specified name the property would be serialized.
    See Also