Click or drag to resize

ModelUtilsGetAllSubtypes Method (IObjType, Boolean, ComparisonIObjType)

Gets all subtypes of the object type recursively, sorted by a specific rule.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static ICollection<IObjType> GetAllSubtypes(
	IObjType pObjType,
	bool collectAbstractTypes,
	Comparison<IObjType> sortBy
)

Parameters

pObjType
Type: PDTec.IceNet.Core.ModelIObjType
The object type.
collectAbstractTypes
Type: SystemBoolean
Specifies if abstract types should be contained in the result collection.
sortBy
Type: SystemComparisonIObjType
The sorting rule.

Return Value

Type: ICollectionIObjType
A collection of all subtypes.
See Also