SfcMetadataDiscovery.GetParentsFromType(Type) 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.
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