| TypeGetGenericTypeDefinition Method |
Namespace: System
public virtual Type GetGenericTypeDefinition()
| Exception | Condition |
|---|---|
| InvalidOperationException | The current type is not a generic type. That is, IsGenericType returns false. |
| NotSupportedException | The invoked method is not supported in the base class. Derived classes must provide an implementation. |