Language

SfcMetadataDiscovery.GetParentsFromType(Type) メソッド

定義

この子型のインスタンスがその親として持つ可能性がある有効な親型の一覧。 通常、親にできる型は 1 つありますが、それ以上ある場合もあります。

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)

パラメーター

childType
Type

返品

型の親がない場合は null、それ以外の場合は可能な親の型の一覧

適用対象