IsAssignableFrom
public static bool IsAssignableFrom(Type type, Type c) ;
It is judged whether or not it is an assignable type.
Parameter Name | Description |
---|---|
type | 型 |
c | Type to be compared |
Returns true if an instance of c can be assigned to an instance of type.