IsGeneric
IsGeneric(Type, Type)
public static bool IsGeneric(Type type, Type genericTypeDefinition) ;
説明
指定したジェネリック型定義から構築されたジェネリック型かどうかを返す。
パラメーター
| パラメーター名 | 説明 |
|---|---|
| type | 型 |
| genericTypeDefinition | ジェネリック型定義 |
戻り値
typeがgenericTypeDefinitionから構築されたジェネリック型であればtrueを返す。