EnumBuilder.IsAssignableFrom(TypeInfo) Method

Definition

Gets a value that indicates whether a specified TypeInfo object can be assigned to this object.

C#
public override bool IsAssignableFrom(System.Reflection.TypeInfo? typeInfo);
C#
public override bool IsAssignableFrom(System.Reflection.TypeInfo typeInfo);

Parameters

typeInfo
TypeInfo

The object to test.

Returns

true if typeInfo can be assigned to this object; otherwise, false.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1