แก้ไข

แชร์ผ่าน


GenericTypeParameterBuilder.IsSubclassOf(Type) Method

Definition

Not supported for incomplete generic type parameters.

public:
 override bool IsSubclassOf(Type ^ c);
public override bool IsSubclassOf (Type c);
[System.Runtime.InteropServices.ComVisible(true)]
public override bool IsSubclassOf (Type c);
override this.IsSubclassOf : Type -> bool
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.IsSubclassOf : Type -> bool
Public Overrides Function IsSubclassOf (c As Type) As Boolean

Parameters

c
Type

Not supported.

Returns

Not supported for incomplete generic type parameters.

Attributes

Exceptions

In all cases.

Remarks

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.

Applies to