.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ITypeInfo.IsAssignableFrom(ITypeInfo) Method

Indicates whether the type can be assigned from a specific type.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v20.2.dll


bool IsAssignableFrom(
    ITypeInfo from
Function IsAssignableFrom(
    from As ITypeInfo
) As Boolean


Name Type Description
from ITypeInfo

An ITypeInfo object that represents the type to compare with the current type.


Type Description

true, if a type represented by the from parameter and the current type are the same, or if the current type is in the inheritance hierarchy of the from type, or if the current type is an interface that the from type implements, or if the from type is a generic type parameter and the current type represents one of its constraints. false, if none of the above is true, or if null (Nothing in VB) was passed as the from parameter.

See Also