Click or drag to resize

IInheritanceInfoProviderCheckIfIsSubTypeOf Method

Determines if typeToCheck is a subtype of superType.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
bool CheckIfIsSubTypeOf(
	string typeToCheck,
	string superType
)

Parameters

typeToCheck
Type: SystemString
Type to check.
superType
Type: SystemString
The supertype.

Return Value

Type: Boolean
true if typeToCheck is a subtype of supertype, false otherwise. Also returns false is supertype isn't in a hierarchy.
See Also