FunctionConfiguration.HasDerivedTypeConstraintForReturnType<TDerivedType> 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.
Adds TDerived to the list of derived type constraints for the return type.
public Microsoft.AspNet.OData.Builder.FunctionConfiguration HasDerivedTypeConstraintForReturnType<TDerivedType> ();
member this.HasDerivedTypeConstraintForReturnType : unit -> Microsoft.AspNet.OData.Builder.FunctionConfiguration
Public Function HasDerivedTypeConstraintForReturnType(Of TDerivedType) () As FunctionConfiguration
Type Parameters
- TDerivedType
Returns
Updated configuration object.