GenericTypeParameterBuilder.GetGenericTypeDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Not valid for generic type parameters.
public:
override Type ^ GetGenericTypeDefinition();
public override Type GetGenericTypeDefinition ();
override this.GetGenericTypeDefinition : unit -> Type
Public Overrides Function GetGenericTypeDefinition () As Type
Returns
Not valid for generic type parameters.
Exceptions
In all cases.
Remarks
In a constructed type, the type that is assigned to a generic type parameter can be a generic type, but the type parameter itself is not generic.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.