IDataServiceMetadataProvider.GetDerivedTypes(ResourceType) 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.
Attempts to return all types that derive from the specified resource type.
public:
System::Collections::Generic::IEnumerable<System::Data::Services::Providers::ResourceType ^> ^ GetDerivedTypes(System::Data::Services::Providers::ResourceType ^ resourceType);
public System.Collections.Generic.IEnumerable<System.Data.Services.Providers.ResourceType> GetDerivedTypes (System.Data.Services.Providers.ResourceType resourceType);
abstract member GetDerivedTypes : System.Data.Services.Providers.ResourceType -> seq<System.Data.Services.Providers.ResourceType>
Public Function GetDerivedTypes (resourceType As ResourceType) As IEnumerable(Of 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.