共用方式為


TypeExtensions.IsAssignableFrom(Type, Type) 方法

定義

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsAssignableFrom(Type ^ type, Type ^ c);
public static bool IsAssignableFrom (this Type type, Type c);
public static bool IsAssignableFrom (this Type type, Type? c);
static member IsAssignableFrom : Type * Type -> bool
<Extension()>
Public Function IsAssignableFrom (type As Type, c As Type) As Boolean

參數

type
Type
c
Type

傳回

適用於