The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.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.v19.2.dll

Declaration

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

Parameters

Name Type Description
from ITypeInfo

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

Parameters

Name Type Description
from ITypeInfo

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

Parameters

Name Type Description
from ITypeInfo

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

Returns

Type Description
Boolean

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.

Returns

Type Description
Boolean

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.

Returns

Type Description
Boolean

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