語言

SfcMetadataDiscovery.GetParentsFromType(Type) 方法

定義

該子類型實例可能擁有的有效父型別清單。 通常只有一種類型可以成為父母,但有時會有更多種類。

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 表示該型別沒有父型,否則可能的父型別清單

適用於