This documentation is archived and is not being maintained.

IDataServiceMetadataProvider.GetDerivedTypes Method

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

Namespace:  System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)

IEnumerable<ResourceType> GetDerivedTypes(
	ResourceType resourceType


Type: System.Data.Services.Providers.ResourceType
The base ResourceType.

Return Value

Type: System.Collections.Generic.IEnumerable<ResourceType>
An IEnumerable<T> collection of derived ResourceType objects.

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.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.