Share via


MobileServiceContractResolver.ResolveIdProperty(Type) Method

Definition

Returns the id Newtonsoft.Json.Serialization.JsonProperty for the given type. The Newtonsoft.Json.Serialization.JsonProperty can be used to get/set the id value of an instance of the given type.

public virtual Newtonsoft.Json.Serialization.JsonProperty ResolveIdProperty (Type type);
abstract member ResolveIdProperty : Type -> Newtonsoft.Json.Serialization.JsonProperty
override this.ResolveIdProperty : Type -> Newtonsoft.Json.Serialization.JsonProperty
Public Overridable Function ResolveIdProperty (type As Type) As JsonProperty

Parameters

type
Type

The type for which to get the id Newtonsoft.Json.Serialization.JsonProperty.

Returns

Newtonsoft.Json.Serialization.JsonProperty

The id Newtonsoft.Json.Serialization.JsonProperty.

Applies to