Method IsInstance
IsInstance<T1, T2>()
Check if one type is an instance of another type.
선언
public static bool IsInstance<T1, T2>()
반환
| 타입 | 설명 |
|---|---|
| bool | Returns true if T2 is a base type of T1. |
타입 파라미터
| 이름 | 설명 |
|---|---|
| T1 | Expected base type. |
| T2 | Expected child type. |