IDataServiceMetadataProvider.GetDerivedTypes(ResourceType) Method

Definition

Attempts to return all types that derive from the specified resource type.

C#
public System.Collections.Generic.IEnumerable<System.Data.Services.Providers.ResourceType> GetDerivedTypes(System.Data.Services.Providers.ResourceType resourceType);

Parameters

resourceType
ResourceType

The base ResourceType.

Returns

An IEnumerable<T> collection of derived ResourceType objects.

Remarks

The GetDerivedTypes method must return a collection of all the types derived from resourceType.

The type passed to the method by using the resourceType parameter must not be returned in the collection.

An implementer of the IDataServiceMetadataProvider interface must return a null value when no types are derived from the supplied type.

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1