ModelUtilsIsObjTypeCompatibleWith Method |
Checks whether given type is compatible with potentialSupertype. Types are compatible when
all instances of type checkedType are also instances of potentialSupertype
(i.e. checkedType is the same as potentialSupertype or is its direct or indirect subtype).
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static bool IsObjTypeCompatibleWith(
IObjType checkedType,
IObjType potentialSupertype
)
Parameters
- checkedType
- Type: PDTec.IceNet.Core.ModelIObjType
Subtype to be checked. Cannot be null. - potentialSupertype
- Type: PDTec.IceNet.Core.ModelIObjType
Potential super type. Cannot be null.
Return Value
Type:
Booleantrue if
checkedType is compatible with
potentialSupertype,
false otherwise.
See Also