ODataRouteBuilderExtensions.SetSerializeNullDynamicProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets whether or not the null dynamic property to be serialized.
public static Microsoft.AspNetCore.Routing.IRouteBuilder SetSerializeNullDynamicProperty (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, bool serialize);
static member SetSerializeNullDynamicProperty : Microsoft.AspNetCore.Routing.IRouteBuilder * bool -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function SetSerializeNullDynamicProperty (builder As IRouteBuilder, serialize As Boolean) As IRouteBuilder
Parameters
- builder
- IRouteBuilder
The IRouteBuilder.
- serialize
- Boolean
true
to serialize null dynamic property, false
otherwise.