Share via


ReflectionDataServiceProvider.GetDerivedTypes Method

The method must return a collection of all the types derived from resourceType. The collection returned should NOT include the type passed in as a parameter. An implementer of the interface should return null if the type does not have any derived types (ie. null == no derived types).

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

Syntax

'Declaration
Public Overridable Function GetDerivedTypes ( _
    resourceType As ResourceType _
) As IEnumerable(Of ResourceType)
'Usage
Dim instance As ReflectionDataServiceProvider 
Dim resourceType As ResourceType 
Dim returnValue As IEnumerable(Of ResourceType)

returnValue = instance.GetDerivedTypes(resourceType)
public virtual IEnumerable<ResourceType> GetDerivedTypes(
    ResourceType resourceType
)
public:
virtual IEnumerable<ResourceType^>^ GetDerivedTypes(
    ResourceType^ resourceType
)
abstract GetDerivedTypes : 
        resourceType:ResourceType -> IEnumerable<ResourceType> 
override GetDerivedTypes : 
        resourceType:ResourceType -> IEnumerable<ResourceType> 
public function GetDerivedTypes(
    resourceType : ResourceType
) : IEnumerable<ResourceType>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<ResourceType>
A collection of resource types ( ResourceType ) derived from the specified resourceType or null if there no types derived from the specified resourceType exist.

Implements

IDataServiceMetadataProvider.GetDerivedTypes(ResourceType)

See Also

Reference

ReflectionDataServiceProvider Class

System.Data.Services.Providers Namespace