IsAssignableFrom Method

Overloads

IsAssignableFrom(PTypeInfo, PTypeInfo)

Determines whether an instance of leftType can be assigned from an instance of rightType .

IsAssignableFrom(array of PTypeInfo, array of PTypeInfo)

IsAssignableFrom(PTypeInfo, PTypeInfo)

Determines whether an instance of leftType can be assigned from an instance of rightType .

Delphi
function IsAssignableFrom(leftType: PTypeInfo; rightType: PTypeInfo): Boolean

Parameters

leftType
PTypeInfo
rightType
PTypeInfo

Returns

Boolean

IsAssignableFrom(array of PTypeInfo, array of PTypeInfo)

Delphi
function IsAssignableFrom(const leftTypes: array of PTypeInfo; const rightTypes: array of PTypeInfo): Boolean

Parameters

leftTypes
array of PTypeInfo
rightTypes
array of PTypeInfo

Returns

Boolean