CollectionPropertyConfiguration.HasDerivedTypeConstraint<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.
public Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration HasDerivedTypeConstraint<TDerivedType> ();
member this.HasDerivedTypeConstraint : unit -> Microsoft.AspNet.OData.Builder.CollectionPropertyConfiguration
Public Function HasDerivedTypeConstraint(Of TDerivedType) () As CollectionPropertyConfiguration
Type Parameters
- TDerivedType
Returns
Updated configuration object.