ResolveContract Method (type)

Json.NET

Json.NET - Quick Starts & API Documentation ResolveContract Method (type)
NamespacesNewtonsoft.Json.SerializationDefaultContractResolverResolveContract(Type)
Resolves the contract for a given type.
Declaration Syntax
C# Visual Basic Visual C++
public virtual JsonContract ResolveContract(
	Type type
)
Public Overridable Function ResolveContract ( _
	type As Type _
) As JsonContract
public:
virtual JsonContract^ ResolveContract(
	Type^ type
)
Parameters
type (Type)
The type to resolve a contract for.
Return Value
The contract for a given type.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)