TypeInfo::IsAssignableFrom Method (TypeInfo)

.NET Framework 4.5

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

Namespace:  System.Reflection
Assemblies:   System.Reflection (in System.Reflection.dll)
  mscorlib (in mscorlib.dll)

public:
virtual bool IsAssignableFrom(
	TypeInfo^ typeInfo
)

Parameters

typeInfo
Type: System.Reflection::TypeInfo

The type to check.

Return Value

Type: System::Boolean
true if the specified type can be assigned to this type; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft