Json.NET - Quick Starts & API Documentation
CreateProperties Method (type, memberSerialization)
Namespaces ► Newtonsoft.Json.Serialization ► DefaultContractResolver ► CreateProperties(Type, MemberSerialization)
Creates properties for the given JsonContract.
Declaration Syntax
C# | Visual Basic | Visual C++ |
protected virtual IList<JsonProperty> CreateProperties( Type type, MemberSerialization memberSerialization )
Protected Overridable Function CreateProperties ( _ type As Type, _ memberSerialization As MemberSerialization _ ) As IList(Of JsonProperty)
protected: virtual IList<JsonProperty^>^ CreateProperties( Type^ type, MemberSerialization memberSerialization )
Parameters
- type (Type)
- The type to create properties for.
- memberSerialization (MemberSerialization)
- The member serialization mode for the type.
Return Value
Properties for the given JsonContract.