Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GenericTypeParameterBuilder::IsAssignableFrom Method (Type^)

 

Throws a NotSupportedException exception in all cases.

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

public:
virtual bool IsAssignableFrom(
	Type^ c
) override

Parameters

c
Type: System::Type^

The object to test.

Return Value

Type: System::Boolean

Throws a NotSupportedException exception in all cases.

Exception Condition
NotSupportedException

In all cases.

This method is not supported for incomplete generic type parameters. Retrieve the type parameter from the completed generic type definition and then use reflection on the retrieved type.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show:
© 2017 Microsoft