Share via


SfcMetadataDiscovery.GetParentsFromType(Type) Method

Definition

The list of valid parent Types which an instance of this child type may have as its parent. Usually there is a single Type that can be the parent, but sometimes there are more.

public static System.Collections.Generic.List<Type> GetParentsFromType (Type childType);
static member GetParentsFromType : Type -> System.Collections.Generic.List<Type>
Public Shared Function GetParentsFromType (childType As Type) As List(Of Type)

Parameters

childType
Type

Returns

null if there is no parent for the type, otherwise the list of possible parent Types

Applies to