JsonAttribute Constructor(Boolean,Int32,String)
In This Topic
Initializes a new instance of the
JsonAttribute class.
Syntax
'Declaration
Public Function New( _
ByVal As System.Boolean, _
ByVal As System.Integer, _
ByVal 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 ,
System.int ,
System.string
)
public JsonAttribute(
: System.Boolean;
: System.Integer;
: System.String
);
public function JsonAttribute(
: System.boolean,
: System.int,
: System.String
);
public: JsonAttribute(
System.bool ,
System.int ,
System.string*
)
public:
JsonAttribute(
System.bool ,
System.int ,
System.String^
)
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