IsAssignableFrom()

TypeInfo::IsAssignableFrom(const TypeInfo&) const method

Determines whether an instance of a specified type can be assigned to a variable of the current type.

bool System::TypeInfo::IsAssignableFrom(const TypeInfo &type) const

Arguments

ParameterTypeDescription
typeconst TypeInfo&the type to compare with the current type

See Also