Bewerken

Share via


TypeBuilder.IsGenericParameter Property

Definition

Gets a value indicating whether the current type is a generic type parameter.

public:
 virtual property bool IsGenericParameter { bool get(); };
public override bool IsGenericParameter { get; }
member this.IsGenericParameter : bool
Public Overrides ReadOnly Property IsGenericParameter As Boolean

Property Value

true if the current TypeBuilder object represents a generic type parameter; otherwise, false.

Remarks

Note

When emitting code, a generic type parameter is represented by a GenericTypeParameterBuilder object rather than by a TypeBuilder object.

Applies to