Redigera

Dela via


TypeDelegator.IsAssignableFrom(TypeInfo) Method

Definition

Returns a value that indicates whether the specified type can be assigned to this type.

public:
 override bool IsAssignableFrom(System::Reflection::TypeInfo ^ typeInfo);
public override bool IsAssignableFrom (System.Reflection.TypeInfo? typeInfo);
public override bool IsAssignableFrom (System.Reflection.TypeInfo typeInfo);
override this.IsAssignableFrom : System.Reflection.TypeInfo -> bool
Public Overrides Function IsAssignableFrom (typeInfo As TypeInfo) As Boolean

Parameters

typeInfo
TypeInfo

The type to check.

Returns

true if the specified type can be assigned to this type; otherwise, false.

Applies to