Click or drag to resize

ModelUtilsGetAllObjTypesOf Method (IObjType, Boolean, ComparisonIObjType)

Gets all subtypes of the object type recursively, together with the object type itself, 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> GetAllObjTypesOf(
	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, together with the object type itself.
See Also