IsAssignableFrom Method (TypeInfo)
Collapse the table of content
Expand the table of content

TypeInfo.IsAssignableFrom Method (TypeInfo)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Overridable Function IsAssignableFrom ( _
	typeInfo As TypeInfo _
) As Boolean

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft