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.7.0.0 (5.7.0)
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