TypeInfo.IsAssignableFrom TypeInfo.IsAssignableFrom TypeInfo.IsAssignableFrom TypeInfo.IsAssignableFrom Method

Definition

Overloads

IsAssignableFrom(TypeInfo) IsAssignableFrom(TypeInfo) IsAssignableFrom(TypeInfo)

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

IsAssignableFrom(Type) IsAssignableFrom(Type) IsAssignableFrom(Type) IsAssignableFrom(Type)

IsAssignableFrom(TypeInfo) IsAssignableFrom(TypeInfo) IsAssignableFrom(TypeInfo)

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

public:
 virtual bool IsAssignableFrom(System::Reflection::TypeInfo ^ typeInfo);
public virtual bool IsAssignableFrom (System.Reflection.TypeInfo typeInfo);
override this.IsAssignableFrom : System.Reflection.TypeInfo -> bool

Parameters

typeInfo
TypeInfo TypeInfo TypeInfo TypeInfo

The type to check.

Returns

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

IsAssignableFrom(Type) IsAssignableFrom(Type) IsAssignableFrom(Type) IsAssignableFrom(Type)

public:
 virtual bool IsAssignableFrom(Type ^ c);
public virtual bool IsAssignableFrom (Type c);
abstract member IsAssignableFrom : Type -> bool
override this.IsAssignableFrom : Type -> bool
Public Overridable Function IsAssignableFrom (c As Type) As Boolean

Parameters

Returns

Applies to